tripleo-ansible/tripleo_ansible/roles/tripleo_cellv2
Bogdan Dobrelya 3f13c35ea3 Add cell internalapi VIP in controllers /etc/hosts
When adding a cell into a tls-everywhere environment, also the
cellcontroller(s) internal api vip(s) is/are required to be added to
the central overcloud controllers, because when using a tls-everywhere
environment nova uses the cell controller internal api hostname instead
of the vip to connect to the cell DB.

When user executes the create-nova-cell-v2 playbook, as documented in
[0], add such extra entry/entries into the central controllers
/etc/hosts. Only do that if internal_api_vip and internal_api_hostname
are defined in the cell controller(s)' group hostvars (that would match
both non/TLS-E cases automagically).

[0] https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/deploy_cellv2_basic.html#cell-create-cell

Related: rhbz#1926716

Change-Id: Ib23d06ea702545a0c2f4f47da63ce588957488fe
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
(cherry picked from commit c52f115d51)
2022-05-23 14:52:36 +02:00
..
defaults Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
meta fix galaxy meta requirements 2021-09-23 14:36:41 +02:00
molecule/default Switch collectd molecule jobs to use CentOS Stream 8 image 2022-02-16 12:57:50 -05:00
tasks Add cell internalapi VIP in controllers /etc/hosts 2022-05-23 14:52:36 +02:00