Activity log for bug #1983121

Date Who What changed Old value New value Message
2022-07-29 15:53:33 Harald Jensås bug added bug
2022-07-29 16:26:38 Harald Jensås description 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". 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". Testing patch: diff --git a/tripleoclient/heat_launcher.py b/tripleoclient/heat_launcher.py index 6e7d2c8c..453c45d3 100644 --- a/tripleoclient/heat_launcher.py +++ b/tripleoclient/heat_launcher.py @@ -43,6 +43,7 @@ from tripleoclient.constants import (DEFAULT_HEAT_CONTAINER, DEFAULT_TEMPLATES_DIR, EPHEMERAL_HEAT_POD_NAME) from tripleoclient.exceptions import HeatPodMessageQueueException +from tripleoclient import utils as oooutils log = logging.getLogger(__name__) @@ -706,7 +707,7 @@ class HeatPodLauncher(HeatContainerLauncher): return ('mysql+pymysql://' 'heat:heat@{}/heat?read_default_file=' '/etc/my.cnf.d/tripleo.cnf&read_default_group=tripleo'.format( - self._get_ctlplane_vip())) + oooutils.bracket_ipv6(self._get_ctlplane_vip()))) def _get_ctlplane_vip(self): return self._decode(subprocess.check_output( Result is slightly different: 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)") 2022-07-29 16:20:38.145 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 9 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)") 2022-07-29 16:20:48.148 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 8 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)") 2022-07-29 16:20:58.159 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 7 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)") 2022-07-29 16:21:08.171 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 6 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)") 2022-07-29 16:21:18.182 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 5 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)") 2022-07-29 16:21:28.187 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 4 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)") 2022-07-29 16:21:38.199 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 3 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)") 2022-07-29 16:21:48.202 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 2 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)") 2022-07-29 16:21:58.213 2 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 1 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)") ERROR: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '2620:dead:beef:4::3' ([Errno 101] Network is unreachable)") (Background on this error at: http://sqlalche.me/e/13/e3q8) 2022-07-29 16:22:08.616 172061 WARNING tripleoclient.utils.safe_write [-] The output file /home/stack/overcloud-deploy/overcloud/overcloud-deployment_status.yaml will be overriden: subprocess.CalledProcessError: Command '['sudo', 'podma$', 'run', '--rm', '--user', 'heat', '--volume', '/home/stack/overcloud-deploy/overcloud/heat-launcher/heat.conf:/etc/heat/heat.conf:z', '--volume', '/home/stack/overcloud-deploy/overcloud/heat-launcher:/home/stack/overcloud-deploy/overc$oud/heat-launcher:z', 'localhost/tripleo/openstack-heat-api:ephemeral', 'heat-manage', 'db_sync']' returned non-zero exit status 1.
2022-07-29 19:24:11 OpenStack Infra tripleo: status Triaged In Progress
2022-07-30 05:59:31 Takashi Kajinami tripleo: assignee Harald Jensås (harald-jensas)
2022-08-01 22:39:48 OpenStack Infra tags in-stable-wallaby
2022-08-03 10:47:36 OpenStack Infra tripleo: status In Progress Fix Released