Description of problem: During the initial configuration of our cluster tripleo-hosts-entries is currently mangling the VIP entries and dumping them all onto a single line: """ $ cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 # BEGIN ANSIBLE MANAGED BLOCK 172.17.10.11 director1.ctlplane.osp-001.lab.iad2.dc.redhat.com director1.ctlplane 172.17.10.69 ctlplane.osp-001.lab.iad2.dc.redhat.com172.17.20.23 internalapi.osp-001.lab.iad2.dc.redhat.com10.14.49.183 overcloud.osp-001.lab.iad2.dc.redhat.com10.14.8.134 storage.osp-001.lab.iad2.dc.redhat.com 172.16.8.155 storagemgmt.osp-001.lab.iad2.dc.redhat.com10.14.9.241 storagenfs.osp-001.lab.iad2.dc.redhat.com 172.17.20.110 compute-01.osp-001.lab.iad2.dc.redhat.com compute-01 10.14.48.127 compute-01.management.osp-001.lab.iad2.dc.redhat.com compute-01.management ... """ Version-Release number of selected component (if applicable): tripleo-ansible-0.4.2-0.20200110023759.ee731ba.el8ost.noarch How reproducible: Every deployment. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: I suspect that joining using '' is the cause here: From /usr/share/ansible/roles/tripleo-hosts-entries/tasks/main.yml : {{ tripleo_hosts_entries_vip_hosts_entries | join('') }}
Moving to 16.1 - we have the patch, there's a package, 16.0 is EOL...
Manual inspection of /etc/hosts file on 16.1 deployments shows no mangled entries.
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 16.1.9 bug fix and 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/RHBA-2022:8795
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days