Description of problem: IPv6 Overcloud deployment fails due to IPv6 bracket wrapping problem in tripleoclient head launcher: Ephemeral heat/rabbitmq fail to start on IPv6 undercloud Version-Release number of selected component (if applicable): How reproducible: every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: upstream bug: https://bugs.launchpad.net/tripleo/+bug/1983121 2022-07-29 15:30:04.031 113897 INFO tripleoclient.heat_launcher [-] Checking that message bus (rabbitmq) is upESC[00m ERROR: invalid literal for int() with base 10: 'dead:beef:4::3' Looks like a IPv6 bracket wrapping issue, since the actual address is "2620:dead:beef:4::3".
Proposed patch: https://review.opendev.org/c/openstack/python-tripleoclient/+/851597
There is another issue hiding behind the IPv6 address bracket issue. Podman networking is not configured for IPv6 networking, so the ephemeral container is unable to connect to the database which is listening on an IPv6 interface. 022-07-29 16:20:23.207 172061 INFO tripleoclient.v1.overcloud_deploy.DeployOvercloud [-] Using ephemeral heat for stack operation 2022-07-29 16:20:24.165 172061 INFO tripleoclient.heat_launcher [-] Skipping container image pull. 2022-07-29 16:20:24.173 172061 INFO tripleoclient.heat_launcher [-] Checking that database is up 2022-07-29 16:20:24.577 172061 INFO tripleoclient.heat_launcher [-] Checking that message bus (rabbitmq) is up 2022-07-29 16:20:28.131 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 10 attempts left.: oslo_db.exception.DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '2620:dead:beef:4::3' ([Errno 101] Network is unreachable)") Proposed a second patch to ensure we configure container netavark for IPv6 - https://review.opendev.org/c/openstack/tripleo-ansible/+/851608
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 17.0 (Wallaby)), 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-2022:6543
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days