Bug 1309334

Summary: Use the Ironic's node name as the instance hostname
Product: Red Hat OpenStack Reporter: Raviv Bar-Tal <rbartal>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED WONTFIX QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: berrange, dasmith, eglynn, kchamart, ndipanov, oblaut, sbauza, sferdjao, sgordon, vromanso, yeylon
Target Milestone: ---Keywords: Tracking, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-19 15:31:39 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:

Description Raviv Bar-Tal 2016-02-17 13:53:30 UTC
It would be very handy if we could use the name of the Ironic node as the instance hostname. The node's name are unique in Ironic and they could contain information such as rack number, rack location, node number, etc...

By default Nova uses the display name as the hostname for the instance we can keep that as the default behavior and have a configuration option in the [ironic] config group to enable/disable the behavior of using the node's name (if present) as the instance's hostname

Comment 1 Eoghan Glynn 2016-02-19 15:31:39 UTC
Current hostname convention is implicitly part of the contract, so can't be changed.