Bug 1971001 - [16.1 -> 16.2] Minor update creates double entries in /etc/hosts on the overcloud
Summary: [16.1 -> 16.2] Minor update creates double entries in /etc/hosts on the overc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Michele Baldessari
QA Contact: Jason Grosso
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-11 15:54 UTC by Michele Baldessari
Modified: 2021-09-15 07:16 UTC (History)
5 users (show)

Fixed In Version: tripleo-ansible-0.7.1-2.20210603175835.el8ost.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:15:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1931729 0 None None None 2021-06-11 16:18:44 UTC
OpenStack gerrit 796044 0 None MERGED [Train-only] Remove duplicate /etc/hosts entries 2021-06-16 05:45:00 UTC
Red Hat Issue Tracker UPG-3079 0 None None None 2021-08-12 10:56:46 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:16:28 UTC

Description Michele Baldessari 2021-06-11 15:54:35 UTC
Description of problem:
After a successful 16.1->16.2 update the overcloud has every entry twice in /etc/hosts. So we have:
# START_HOST_ENTRIES_FOR_STACK: overcloud
172.17.1.60 compute-0.redhat.local compute-0
172.17.3.34 compute-0.storage.redhat.local compute-0.storage
172.17.1.60 compute-0.internalapi.redhat.local compute-0.internalapi
.....
10.0.0.150  overcloud.redhat.local
# END_HOST_ENTRIES_FOR_STACK: overcloud
# BEGIN ANSIBLE MANAGED BLOCK
172.17.1.60 compute-0.redhat.local compute-0
172.17.3.34 compute-0.storage.redhat.local compute-0.storage
172.17.1.60 compute-0.internalapi.redhat.local compute-0.internalapi
172.17.2.135 compute-0.tenant.redhat.local compute-0.tenant
192.168.24.20 compute-0.ctlplane.redhat.local compute-0.ctlplane

So we have all entries under END_HOST_ENTRIES_FOR_STACK:overcloud and then again all entries under "BEGIN ANSIBLE MANAGED BLOCK"

Comment 10 errata-xmlrpc 2021-09-15 07:15:55 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 (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), 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/RHEA-2021:3483


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