-
Notifications
You must be signed in to change notification settings - Fork 372
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
Fix PID tracking for cgroups #1489
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1489 +/- ##
===========================================
- Coverage 60.86% 60.82% -0.04%
===========================================
Files 75 75
Lines 10872 10878 +6
Branches 1558 1559 +1
===========================================
Hits 6617 6617
- Misses 3941 3946 +5
- Partials 314 315 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few minor comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
nit; comments added.
* Use 1804-style deprovisioning for all versions >= 18.04 (#1483) 18.04 changed the method of managing resolv.conf vs. 16.04; the new method involves letting systemd-networkd manage that file. A previous fix corrected waagent behavior for 18.04 but did not do so for subsequent releases. Now that Ubuntu's direction is clear, this commit makes the correction in all versions of Ubuntu from 18.04 onwards. Other distros are unaffected by this bug and by this fix. * Updating Travis settings * Added description for Extension Error Codes (#1482) * Added description for Extension Error Codes * Correcting the test - to send the correct CRP Extension Error code * Adding docstring to describe ExtensionErrorCodes * Make launch_command resilient to cgroups failures (#1484) * WireServer Certificates parser gracefully exits if format of package is not Pkcs7BlobWithPfxContents (#1474) * Certificates parser gracefully exits if format of package is not Pkcs7BlobWithPfxContents * Add missing files * change message to warning * Removing the requirement of passing cipher-name. Default is more secure (#1481) * Fix PID tracking for cgroups (#1489) * add fixes for cgroup setup and PID tracking * cleanup code comments * disable cgroups test if not supported by environment * remove wrapper cgroup tracking and other nits * fix whitespace * nit fixes; addressing CR comments * Release 2.2.39 (#1494) * Fix header * Update agent version to 2.2.40
* Use 1804-style deprovisioning for all versions >= 18.04 (Azure#1483) 18.04 changed the method of managing resolv.conf vs. 16.04; the new method involves letting systemd-networkd manage that file. A previous fix corrected waagent behavior for 18.04 but did not do so for subsequent releases. Now that Ubuntu's direction is clear, this commit makes the correction in all versions of Ubuntu from 18.04 onwards. Other distros are unaffected by this bug and by this fix. * Updating Travis settings * Added description for Extension Error Codes (Azure#1482) * Added description for Extension Error Codes * Correcting the test - to send the correct CRP Extension Error code * Adding docstring to describe ExtensionErrorCodes * Make launch_command resilient to cgroups failures (Azure#1484) * WireServer Certificates parser gracefully exits if format of package is not Pkcs7BlobWithPfxContents (Azure#1474) * Certificates parser gracefully exits if format of package is not Pkcs7BlobWithPfxContents * Add missing files * change message to warning * Removing the requirement of passing cipher-name. Default is more secure (Azure#1481) * Fix PID tracking for cgroups (Azure#1489) * add fixes for cgroup setup and PID tracking * cleanup code comments * disable cgroups test if not supported by environment * remove wrapper cgroup tracking and other nits * fix whitespace * nit fixes; addressing CR comments * Release 2.2.39 (Azure#1494) * Fix header * Update agent version to 2.2.40
Description
These changes fix the previously incorrect process id tracking for cgroups. Style improvements, tests, and comments added as well.
PR information
Quality of Code and Contribution Guidelines