Bug 1323932 - [WALA][rhel6.8]Azure Extensions require python2.7+ which is higher than python version in RHEL6.8
Summary: [WALA][rhel6.8]Azure Extensions require python2.7+ which is higher than pytho...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: WALinuxAgent
Version: 6.8
Hardware: Unspecified
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Yue Zhang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1359574 1366045 1387784
TreeView+ depends on / blocked
 
Reported: 2016-04-05 06:20 UTC by Yuxin Sun
Modified: 2017-03-28 09:26 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-10 06:37:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.