After a Overcloud deployment, /etc/hosts on the undercloud
will be populated with entries for each overcloud node. Since
we use the same tripleo_ansible roles for both the undercloud
and overcloud deployment, the /etc/hosts file on the Director
will be removed by undercloud install / upgrade operations.
This change adds the RootStackName to the group_vars,
this is then used by the tripleo_host_entries role in
tripleo-ansible to write host entries per stack.
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- heat-templates/ +/787327 /opendev. org/openstack/ tripleo- heat-templates/ commit/ 0f1230d0b553595 9a53fbe04a0ec31 441eae29f8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0f1230d0b553595 9a53fbe04a0ec31 441eae29f8
Author: Brendan <email address hidden>
Date: Wed Apr 21 18:39:33 2021 +1000
Add RootStackName to group_vars
After a Overcloud deployment, /etc/hosts on the undercloud
will be populated with entries for each overcloud node. Since
we use the same tripleo_ansible roles for both the undercloud
and overcloud deployment, the /etc/hosts file on the Director
will be removed by undercloud install / upgrade operations.
This is outlined here: /bugzilla. redhat. com/show_ bug.cgi? id=1933528
https:/
This change adds the RootStackName to the group_vars, host_entries role in
this is then used by the tripleo_
tripleo-ansible to write host entries per stack.
Closes-Bug: #1924751 7180e66db1239b5 f9c8846addd
RHBZ: 1933528
Change-Id: I9e53187f37d41d