Adding overcloud server entries to /etc/hosts on undercloud
I have been doing this manually at present, but I had wondered if there is a switch/setting for the overcloud deploy to add the overcloud servers to the /etc/hosts file as part of the deploy?
There currently is no automation for that. However, you could fetch the values from heat: openstack stack output show overcloud HostsEntry -f value -c output_value Best regards On 3/6/19 4:42 PM, James LaBarre wrote:
I have been doing this manually at present, but I had wondered if there is a switch/setting for the overcloud deploy to add the overcloud servers to the /etc/hosts file as part of the deploy?
On 3/6/19 10:07 AM, Juan Antonio Osorio Robles wrote:
There currently is no automation for that. However, you could fetch the values from heat:
openstack stack output show overcloud HostsEntry -f value -c output_value
Best regards
On 3/6/19 4:42 PM, James LaBarre wrote:
I have been doing this manually at present, but I had wondered if there is a switch/setting for the overcloud deploy to add the overcloud servers to the /etc/hosts file as part of the deploy?
There's exactly the sort of command I was looking for. Could even tack it on to an ansible script.
participants (2)
-
James LaBarre
-
Juan Antonio Osorio Robles