Adding overcloud server entries to /etc/hosts on undercloud

James LaBarre jlabarre at redhat.com
Wed Mar 6 15:15:51 UTC 2019


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.





More information about the openstack-discuss mailing list