Bug 1296916

Summary: cloud-init not running when setting hostname
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED NOTABUG QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: abellott, jhardy, ncarboni, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-08 13:34:48 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:

Description luke couzens 2016-01-08 12:40:31 UTC
Description of problem: 

Running cloud-init to set hostname on a fedora 23 box works fine but running the exact same test on RHOS cfme 5.5.2 does not. The only difference is the cloud-init version on fedora is 0.7.7 and on CFME its 0.7.6.

Version-Release number of selected component (if applicable):


How reproducible:100%


Steps to Reproduce:
1. login to RHOS
2. create new cfme 5.5.2 RHOS image
3. launch instance
4. fill out tabs as required
5. add cloud-init script to direct input
6. launch instance
7. check changes on instance

Actual results:no changes made by cloud-init


Expected results: changes completed


Additional info: script tested with is as follows: 

#cloud-config 
hostname: test
fqdn: test.example.com
manage_etc_hosts: true

Comment 2 Nick Carboni 2016-01-08 13:34:48 UTC
The decision was made to not allow cloud-init to change the appliance hostname.
See https://bugzilla.redhat.com/show_bug.cgi?id=1282927 and https://github.com/ManageIQ/manageiq-appliance/pull/45