Overcloud controller host domain is forced to HOST.localdomain in /etc/hosts
Issue
When change the default domain of the overcloud, the installation fails because the entries in /etc/hosts for the controllers will still have .localdomain
as domain and host lookup fails.
Reproduce:
1. change under cloud neutron/nova to use non default domain (e.g. example.com)
2. set CloudDomain: example.com
in overcloud parameter file
3. deploy overcloud
As a result the controller will still have .localdomain
Mar 3 04:23:45 localhost os-collect-config: 172.17.0.14 compute1.example.com compute1
Mar 3 04:23:45 localhost os-collect-config: 172.17.0.15 controller0.localdomain controller0
Mar 3 04:23:45 localhost os-collect-config: 172.17.0.17 controller1.localdomain controller1
Mar 3 04:23:45 localhost os-collect-config: 172.17.0.18 controller2.localdomain controller2
Environment
- Red Hat OpenStack 7.0
- openstack-tripleo-heat-templates-0.8.6-121.el7ost
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.