| Summary: | [WALA]The updated WALA will be used after restart waagent twice even if its version is lower than the local version | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Yuxin Sun <yuxisun> | |
| Component: | WALinuxAgent | Assignee: | Miroslav Rezanina <mrezanin> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.3 | CC: | leiwang, salmy, wshi, yuxisun | |
| Target Milestone: | rc | Keywords: | Extras, Tracking | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | WALinuxAgent-2.2.4 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1429325 (view as bug list) | Environment: | ||
| Last Closed: | 2017-03-07 08:52:36 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: | 1429325 | |||
|
Description
Yuxin Sun
2016-08-29 09:26:47 UTC
Verify in WALA-2.2.1 RHEL-7.3 ondemand and RHEL-6.9-20161110.2. Result is pass. Steps: 1. Prepare a VM on Azure with WALA-2.2.1 installed. Set AutoUpdate.enabled=y 2. Check wala process. Doesn't use the new WALA because the local version is equal to the new version. # ps aux|grep -E "waagent|WAL" root 24993 6.2 0.6 203652 11076 pts/0 S 17:10 0:00 python /usr/sbin/waagent -daemon root 24998 11.2 0.8 368708 14328 pts/0 Sl 17:10 0:00 python -u bin/WALinuxAgent-2.2.1-py2.7.egg -run-exthandlers 3. Modify AGENT_VERSION = '2.2.0' in /usr/lib/python2.6/site-packages/azurelinuxagent/common/version.py. Remove /var/lib/waagent/current_version. Restart waagent service. 4. Check wala process. Use the new WALA because the local version is lower than the new version # ps aux|grep -E "waagent|WAL" root 24993 6.2 0.6 203652 11076 pts/0 S 17:10 0:00 python /usr/sbin/waagent -daemon root 24998 11.2 0.8 368708 14328 pts/0 Sl 17:10 0:00 python -u bin/WALinuxAgent-2.2.1-py2.7.egg -run-exthandlers 5. Modify AGENT_VERSION = '2.2.2'and repeat step3-4. Doesn't use the new WALA because the local version is higher than the new version. root 25031 7.5 0.6 203604 11084 pts/0 S 17:14 0:00 python /usr/sbin/waagent -daemon root 25036 7.2 0.7 213932 12524 pts/0 S 17:14 0:00 python -u /usr/sbin/waagent -run-exthandlers Change the status to "POST" for developers to add it into ERRATA. |