Bug 1926716 - when adding a cell into a tls-everywhere environment also the cellcontroller internal api vip is required to be
Summary: when adding a cell into a tls-everywhere environment also the cellcontroller ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.2 (Train)
Hardware: All
OS: All
low
medium
Target Milestone: z4
: 16.2 (Train on RHEL 8.4)
Assignee: Bogdan Dobrelya
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks: 2112371
TreeView+ depends on / blocked
 
Reported: 2021-02-09 10:23 UTC by Martin Schuppert
Modified: 2022-12-07 19:22 UTC (History)
4 users (show)

Fixed In Version: tripleo-ansible-0.8.1-2.20220725105244.0888648.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1926693
: 2112371 (view as bug list)
Environment:
Last Closed: 2022-12-07 19:21:44 UTC
Target Upstream Version: Train
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 841133 0 None NEW Add cell internalapi VIP in controllers /etc/hosts 2022-05-09 15:38:37 UTC
Red Hat Issue Tracker OSP-4166 0 None None None 2022-03-12 08:39:30 UTC
Red Hat Product Errata RHBA-2022:8794 0 None None None 2022-12-07 19:22:17 UTC

Description Martin Schuppert 2021-02-09 10:23:17 UTC
This bug is to track automation for this issue in tripleo-cellv2 role:

/usr/share/ansible/roles/tripleo-cellv2/tasks/add_internalapi_hosts_entries.yml

+++ This bug was initially created as a clone of Bug #1926693 +++

when adding a cell into a tls-everywhere environment also the cellcontroller internal api vip is 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.

Reported by: rhn-support-mschuppe

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/instances_and_images_guide/ch-manage_cells#annotations:e368511f-31c0-4bf1-9b19-eb91543ef839

--- Additional comment from Martin Schuppert on 2021-02-09 09:57:04 UTC ---

instead of:
CELL_INTERNALAPI_INFO=$(ssh heat-admin@${CELL_CTRL_IP} egrep cellcontrol.*\.internalapi /etc/hosts)

it should be:
CELL_INTERNALAPI_INFO=$(ssh heat-admin@${CELL_CTRL_IP} egrep cell1.*\.internalapi /etc/hosts)

Where cell1 is the prefix to identify only the cell systems and exclude the central controller systems.

Comment 23 errata-xmlrpc 2022-12-07 19:21:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.4), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8794


Note You need to log in before you can comment on or make changes to this bug.