Bug 1323932

Summary: [WALA][rhel6.8]Azure Extensions require python2.7+ which is higher than python version in RHEL6.8
Product: Red Hat Enterprise Linux 6 Reporter: Yuxin Sun <yuxisun>
Component: WALinuxAgentAssignee: Yue Zhang <yuezha>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 6.8CC: huishao, jjarvis, leiwang, lic_interop, lizzha, mingzhan, wshi, yuezha, yuxisun
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-10 06:37:26 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: 1359574, 1366045, 1387784    

Description Yuxin Sun 2016-04-05 06:20:10 UTC
Description of problem:
The python script in VMAccess Extension(Or other Extensions) introduces that it requires python2.7+. But in rhel6.8 the python version is 2.6.6. There may be some risks about the compatibility.
VMAccess Extension is called in some common features like "reset password" and "reset remote access" in ASM mode.

Version-Release number of selected component (if applicable):
WALinuxAgent-2.0.18-rc4(upstream)
Microsoft.OSTCExtensions.VMAccessForLinux-1.4.0.0
RHEL6.8-20160315.0

How reproducible:
Always

Steps to Reproduce:
1. Prepare a RHEL6.8 VM with WALinuxAgent installed in ASM mode. Execute "reset password" or "reset remote access" on it.
2. Access to the VM. See the introduction on the top of the Extension script.
# vi /var/lib/waagent/Microsoft.OSTCExtensions.VMAccessForLinux-1.4.0.0/vmaccess.py
3. Check the python version on RHEL6.8
# python --version

Actual results:
In step 2, we can see the python version require message in the introduction: # Requires Python 2.7+
In step 3, python version on RHEL6.8 is python 2.6.6

Expected results:
The Azure Extension required python version should be match or lower than RHEL6.8.

Additional info:
None

Comment 3 Yuxin Sun 2016-08-10 06:37:26 UTC
Bug reported in VMAccessForLinux-1.4.0.0.
Fixed and verify in VMAccessForLinux-1.4.1.0. Close it.

*** This bug has been marked as a duplicate of bug 1360493 ***