Bug 1601559

Summary: [ESXi][RHEL7.6] Include new open-vm-tools patches for cloud-init to work with python-2
Product: Red Hat Enterprise Linux 7 Reporter: Rick Barry <ribarry>
Component: open-vm-toolsAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED ERRATA QA Contact: ldu <ldu>
Severity: high Docs Contact:
Priority: high    
Version: 7.6CC: cavery, jen, jjarvis, jsavanyo, ldu, leiwang, mrezanin, ravindrakumar, rjones, vmware-gos-qa, yacao, yanjin, ybhasin
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: open-vm-tools-10.2.5-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 09:48:24 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1525267, 1623281, 1644335    

Description Rick Barry 2018-07-16 16:32:26 UTC
From ravindrakumar (see bug 1525267):

We have also patched this in open-vm-tools - https://github.com/vmware/open-vm-tools/commit/443eced089b634176c6ad1f56512a43381997abc.

We have submitted the patch to Fedora as well - https://src.fedoraproject.org/rpms/open-vm-tools/c/0c5cdadec41bc7785bbd2066bf0d6feda4050e21?branch=master. We would like RHEL to pick this patch.

These are needed to work with cloud-init and python-2.

Comment 2 Ravindra Kumar 2018-07-16 20:05:54 UTC
Thanks Rick for filing this bug.

Comment 3 Rick Barry 2018-07-17 18:34:55 UTC
Mirek, is it possible to take Ravindra's open-vm-tools patch into RHEL-7.6? Without this patch, customer will need to update to python 3.

Lili, I removed you from the "assigned to" field and made you QA contact. I think that's what you meant to do.

Comment 4 ldu 2018-07-18 01:58:53 UTC
(In reply to Rick Barry from comment #3)
> Mirek, is it possible to take Ravindra's open-vm-tools patch into RHEL-7.6?
> Without this patch, customer will need to update to python 3.
> 
> Lili, I removed you from the "assigned to" field and made you QA contact. I
> think that's what you meant to do.

Thanks Rick, that exactly what I want to do.

Comment 5 Miroslav Rezanina 2018-07-20 03:30:03 UTC
Yes,
I'll apply the patch for RHEL version and send it for review so we can include it in our RHEL release.

Comment 7 ldu 2018-08-22 09:39:48 UTC
Retest with open-vm-tools-10.2.5-3.el7 on RHEL 7.6, Customize guest with cloud-init works well, the timezone, hostname, ip could be changed successfully.

@yanjin,
I upload open-vm-tools-10.2.5-3.el7 to below link:
http://people.redhat.com/ldu/rpm/
you can do some test with it.

Comment 8 Yan Jin 2018-08-24 10:05:40 UTC
(In reply to ldu from comment #7)
> Retest with open-vm-tools-10.2.5-3.el7 on RHEL 7.6, Customize guest with
> cloud-init works well, the timezone, hostname, ip could be changed
> successfully.
> 
> @yanjin,
> I upload open-vm-tools-10.2.5-3.el7 to below link:
> http://people.redhat.com/ldu/rpm/
> you can do some test with it.

Verified with the provided open-vm-tools-10.2.5-3, GOS Customization works with cloud-init.
Also ran some regression test for GuestOPs & Guest Info. All planned test cases are Passed.

Comment 9 ldu 2018-08-27 03:50:20 UTC
From comment 7 and comment 8 test result, change this bug status to verified.

Comment 11 errata-xmlrpc 2018-10-30 09:48:24 UTC
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://access.redhat.com/errata/RHEA-2018:3104