Hide Forgot
Tracking: https://github.com/Azure/WALinuxAgent/issues/404 Steps: 1. Prepare a VM(RHEL-6.8) with WALinuxAgent-2.0.16 installed, and service started. 2. Make a WALinuxAgent-2.1.5 rpm package follow the rpm/README. 3. run "rpm -U WALinuxAgent-2.1.5-1.noarch.rpm". 4. Check waagent -deamon process. Run "ps aux|grep waagent" [root@localhost ~]# ps aux|grep waagent root 2158 5.0 1.0 197388 10808 pts/2 S 10:04 0:00 python /usr/sbin/waagent -daemon root 2184 5.0 1.0 197384 10804 pts/2 S 10:04 0:00 python /usr/sbin/waagent -daemon
(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