Bug 1296916 - cloud-init not running when setting hostname
Summary: cloud-init not running when setting hostname
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.6.0
Assignee: Gregg Tanzillo
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-08 12:40 UTC by luke couzens
Modified: 2016-01-08 13:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-08 13:34:48 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

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


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