| Summary: | [WALA] [RHEL6] 2 waagent deamon processes exist after rpm -U | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Yuxin Sun <yuxisun> |
| Component: | WALinuxAgent | Assignee: | Dave Anderson <anderson> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.8 | CC: | borisb, brendand, danis, hkrijger, jboutaud, jjarvis, jopoulso, leiwang, mheslin, stephen.zarkos, wshi, yuxisun |
| Target Milestone: | rc | Keywords: | Extras, Tracking |
| Target Release: | 6.9 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | WALinuxAgent-2.2.0-2.el6 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-07 21:29:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1387784 | ||
|
Description
Yuxin Sun
2016-09-08 02:43:30 UTC
(In reply to yuxisun from comment #0) > Tracking: https://github.com/Azure/WALinuxAgent/issues/404 > In the comments between you and hglkrijger in the gitub issue above, it appears that the problem has been resolved, and the issue was closed by hglkrijger on Sep 7. If that's true, can you or Microsoft provide a patch? Hi Dave, It seems that we can resolve it ether by Microsoft's fix or by spec file. We are still waiting for the PM's final conclusion. If any progress I'll update here at once. Thanks! Verify in RHEL-6.8 GA build, WALinuxAgent-2.2.0 scratch build. Need to verify in WALinuxAgent-2.2.0-1 package I presume that the rhel6 package should be rebuilt with the same two
patches that have been applied in WALinuxAgent-2.2.0-3.el7:
--- WALinuxAgent-2.2.0/config/waagent.conf.orig
+++ WALinuxAgent-2.2.0/config/waagent.conf
@@ -86,7 +86,7 @@ OS.OpensslPath=None
# OS.EnableRDMA=y
# Enable or disable goal state processing auto-update, default is enabled
-# AutoUpdate.Enabled=y
+AutoUpdate.Enabled=n
# Determine the update family, this should not be changed
# AutoUpdate.GAFamily=Prod
--- WALinuxAgent-2.2.0/azurelinuxagent/common/conf.py.orig
+++ WALinuxAgent-2.2.0/azurelinuxagent/common/conf.py
@@ -213,7 +213,7 @@ def get_autoupdate_gafamily(conf=__conf_
def get_autoupdate_enabled(conf=__conf__):
- return conf.get_switch("AutoUpdate.Enabled", True)
+ return conf.get_switch("AutoUpdate.Enabled", False)
def get_autoupdate_frequency(conf=__conf__):
Yes I think these patches should also be used in el6. I tested install/uninstall/upgrade/downgrade of the WALinuxAgent-2.2.0-2.el6 package and the result is pass. I'll do more test of this package tomorrow. Verified in WALinuxAgent-2.2.0-2.el6 RHEL-6.8-20160414.0. Steps: 1. Prepare a VM(RHEL-6.8) with WALinuxAgent-2.0.16 installed, and service started. 2. Run "rpm -Uvh WALinuxAgent-2.2.0-2.el6.noarch.rpm". 4. Check waagent -deamon process. Run "ps aux|grep waagent" root 1429 0.3 0.3 203608 11036 ? S 14:51 0:00 python /usr/sbin/waagent -daemon root 1664 3.3 0.3 365496 13308 ? Sl 14:53 0:00 python -u /usr/sbin/waagent -run-exthandlers There's only one daemon process. Set to VERIFIED status again to follow the errata work flow. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2922.html |