Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SWAP on Resource Disk as Application Certification Support suggested #1762

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

lwhsu
Copy link
Contributor

@lwhsu lwhsu commented Jan 20, 2020

…gested

Description

Issue #
The FreeBSD image on Azure used to have a swap partition allocated, as Application Certification Support suggested, moving it to Resource Disk is the better choice.


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made and Travis.CI is passing.

Quality of Code and Contribution Guidelines


This change is Reviewable

@codecov
Copy link

codecov bot commented Jan 20, 2020

Codecov Report

Merging #1762 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1762   +/-   ##
========================================
  Coverage    69.15%   69.15%           
========================================
  Files           82       82           
  Lines        11711    11711           
  Branches      1642     1642           
========================================
  Hits          8099     8099           
  Misses        3261     3261           
  Partials       351      351

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4c7658...14236c2. Read the comment docs.

@vrdmr vrdmr requested a review from trstringer January 21, 2020 00:47
@vrdmr
Copy link
Member

vrdmr commented Jan 21, 2020

@trstringer: Can you please review the change? Thanks.

@vrdmr vrdmr changed the title Enable SWAP on Resource Disk as Application Certification Support sug… Enable SWAP on Resource Disk as Application Certification Support suggested Jan 23, 2020
@lwhsu
Copy link
Contributor Author

lwhsu commented Feb 5, 2020

Any updates on this? BTW, I'm working with with @whu2014 to provide official FreeBSD image on Azure.

@lwhsu
Copy link
Contributor Author

lwhsu commented Feb 20, 2020

Any update of this?

uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Feb 22, 2020
…upport

Approved by:	Wei Hu <weh@microsoft.com> (maintainer, implicitly)
Obtained from:	Azure/WALinuxAgent#1762
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@526746 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Feb 22, 2020
…upport

Approved by:	Wei Hu <weh@microsoft.com> (maintainer, implicitly)
Obtained from:	Azure/WALinuxAgent#1762
Sponsored by:	The FreeBSD Foundation
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this pull request Feb 23, 2020
…upport

Approved by:	Wei Hu <weh@microsoft.com> (maintainer, implicitly)
Obtained from:	Azure/WALinuxAgent#1762
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@526746 35697150-7ecd-e111-bb59-0022644237b5
kwm81 pushed a commit to freebsd/freebsd-ports-gnome that referenced this pull request Feb 24, 2020
…upport

Approved by:	Wei Hu <weh@microsoft.com> (maintainer, implicitly)
Obtained from:	Azure/WALinuxAgent#1762
Sponsored by:	The FreeBSD Foundation
@lwhsu
Copy link
Contributor Author

lwhsu commented Mar 13, 2020

ping?

@trstringer
Copy link
Contributor

Thanks for opening up this PR! This seems to be a configuration change, why not just make this change in your custom image? It's a thing we should carefully consider to change the defaults for all users, and this seems like an easy one to bake into your own custom image.

@lwhsu
Copy link
Contributor Author

lwhsu commented Mar 13, 2020

Thanks for your reply. Yes I have a local modification of azure-agent package on FreeBSD for building image for now. And I want to upstream this change because of the spirit of open source community. Please note that the FreeBSD image we are going to build is for Official FreeBSD image on Azure (sponsored by the FreeBSD Foundation and Microsoft), and we received this modification suggestion/request from Azure Application Certification Support when validating our image, and we have to make this change to get our image approved. So, I believe this is a sane default from the view of FreeBSD project and Azure. My goal is letting unmodified azure-agent can run well on FreeBSD by default. Hope this is a good reason and helps you review this change.

@trstringer
Copy link
Contributor

Looks good to me. @anhvoms, can I get a second opinion on this config change?

@trstringer
Copy link
Contributor

Chatted with @anhvoms and he's good with the change.

@narrieta
Copy link
Member

@vrdmr @larohra - could you check this PR?

Copy link
Contributor

@larohra larohra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@narrieta narrieta merged commit 10ae95b into Azure:develop Mar 13, 2020
@lwhsu lwhsu deleted the freebsd branch March 13, 2020 17:07
@lwhsu
Copy link
Contributor Author

lwhsu commented Mar 13, 2020

Thanks everyone's help! We'll continue working more on providing good user experience of FreeBSD on Azure.

svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this pull request Jan 10, 2024
…upport

Approved by:	Wei Hu <weh@microsoft.com> (maintainer, implicitly)
Obtained from:	Azure/WALinuxAgent#1762
Sponsored by:	The FreeBSD Foundation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants