Bug 1290175

Summary: cfme cloud-init broken with rhev 3.5.5
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvisioningAssignee: Brandon Dunne <bdunne>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: bdunne, cpelland, dajohnso, ekin.meroglu, gmccullo, jhardy, jocarter, jprause, mfeifer, mkanoor, obarenbo, pmukhedk, snansi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.5.2.1 Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, customization of virtual machines provisioned on a Red Hat Enterprise Virtualization Manager (RHEV-M) provider using cloud-init scripts would not work. This was due to a change in the RHEV-M provisioning API that required an additional option in the provisioning request to enable cloud initialization. Additionally, this cloud initialization option works correctly only in RHEV-M versions 3.5.6.0 and later. Cloud initialization for virtual machines provisioned on Red Hat Enterprise Virtualization providers works as expected in the new version of CloudForms Management Engine.
Story Points: ---
Clone Of: 1282618 Environment:
Last Closed: 2016-02-10 15:23:29 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: 1282618, 1328439    
Bug Blocks:    

Comment 1 Marianne Feifer 2016-01-11 00:42:45 UTC
B - i'm trying to write doctext for this, but was this actually fixed? Or, is it an issue with RHEVM 3.5?

Comment 2 Brandon Dunne 2016-01-11 16:46:31 UTC
Marianne,

In RHEVM 3.5.5.0 a change was made that now requires us to also pass "<use_cloud_init>true</use_cloud_init>" with our request.  However, even when passing this new flag, the cloud-init script is still not used by RHEVM.  This was fixed in RHEVM 3.5.6.0.

Long story short, the changes I made fix cloud-init for RHEVM 3.5.6.0+ by adding the new flag, and cloud-init on RHEV just won't work against RHEVM 3.5.5.X.

Comment 4 Dmitry Misharov 2016-01-25 09:37:07 UTC
Verified fixed in 5.5.2.1.20160114044944_395c086.
Cloud-init functionality was tested on RHEVM 3.4.5 and RHEVM 3.5.7. A test cloud-init script was successfully injected and executed into the provisioned VMs.

Comment 5 errata-xmlrpc 2016-02-10 15:23:29 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/RHBA-2016:0159