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"
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