Red Hat Bugzilla – Bug 1271431
[RFE] Ability to set a hostname in the overcloud from instackenv.json
Last modified: 2017-05-18 02:58:55 EDT
Description of problem:
We would like to be able to specify a hostname in instackenv.json that would be set on the overcloud host when deploying that node in the overcloud.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. It's not supported
It's not supported
It should be supported
It looks like there was already a commit to add basic name functionality:
This would only set the Ironic node name from the "name" tag in the instackenv.json file.
The baremetal instance hostname is set by heat using the format %stackname%-rolename-%index% set in /usr/share/openstack-tripleo-heat-templates/overcloud-without-mergepy.html
Both features would be great to have in OSP 8.
Customers are requesting it for OSP 7 so the question is , is it easy to implement in both?
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
Baremetal node name is different the nova server name.
But both can be defined in there relevant configuration
Baremetal - as shown in the bug description
Nova server name heat example:
[stack@undercloud-0 virt]$ cat hostnames.yml