Bug 2112444 - [IPv6]invalid literal for int() with base 10: 'dead:beef:4::3'
Summary: [IPv6]invalid literal for int() with base 10: 'dead:beef:4::3'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: 17.0
Assignee: Harald Jensås
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-29 18:07 UTC by Jason Paroly
Modified: 2023-12-22 04:25 UTC (History)
16 users (show)

Fixed In Version: tripleo-ansible-3.3.1-0.20220720020862.fa5422f.el9ost python-tripleoclient-16.4.1-0.20220705111521.23dbe54.el9ost
Doc Type: Bug Fix
Doc Text:
IPv6 is supported on the provisioning network in the Red Hat OpenStack Platform (RHOSP) 17.0 GA release.
Clone Of:
Environment:
Last Closed: 2022-09-21 12:24:42 UTC
Target Upstream Version:
Embargoed:
joflynn: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1983121 0 None None None 2022-07-29 19:25:50 UTC
OpenStack gerrit 851597 0 None master: MERGED python-tripleoclient: Heat Launcher - bracket IPv6 in db connection URI (I37fda2aa161120369d0e3734b9485c27cb59846c) 2022-08-10 20:08:29 UTC
OpenStack gerrit 851608 0 None master: MERGED tripleo-ansible: Configure podman netavark network - enable IPv6 (I90efb1639d7ffd899ab73446620354403c1ca536) 2022-08-10 20:08:35 UTC
Red Hat Issue Tracker OSP-17923 0 None None None 2022-07-29 18:11:33 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:25:14 UTC

Description Jason Paroly 2022-07-29 18:07:54 UTC
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".

Comment 1 Jason Paroly 2022-07-29 18:08:38 UTC
Proposed patch: https://review.opendev.org/c/openstack/python-tripleoclient/+/851597

Comment 2 Harald Jensås 2022-07-29 19:28:16 UTC
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

Comment 23 errata-xmlrpc 2022-09-21 12:24:42 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 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

Comment 25 Red Hat Bugzilla 2023-12-22 04:25:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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