Created attachment 1610684 [details] undercloud log Description of problem: undercloud update failed with error "ERROR configuring mysql" Version-Release number of selected component (if applicable): How reproducible: install osp15 beta and try to update to passed_phasse2 (currently RHOS_TRUNK-15.0-RHEL-8-20190829) Steps to Reproduce: 1. 2. 3. Actual results: undercloud updaete failes Expected results: Additional info: attached unedrcloud_update.log
Hi, so we remove the container there: 2019-09-01 12:40:19 | "2019-09-01 12:39:18,964 INFO: 481318 -- Removing container: container-puppet-mysql", and then: 2019-09-01 12:40:19 | "2019-09-01 12:39:47,157 ERROR: 481318 -- ['/usr/bin/podman', 'run', '--user', 'root', '--name', 'container-puppet-mysql', '--env', 'PUPPET_TAGS=file,file_line,concat,augeas,cron,file', '--env', 'NAME=mysql', '--env', 'HOSTNAME=undercloud-0', '--env', 'NO_ARCHIVE=', '--env', 'STEP=6', '--env', 'NET_HOST=true', '--log-driver', 'json-file', '--volume', '/etc/localtime:/etc/localtime:ro', '--volume', '/tmp/tmp4qominnc:/etc/config.pp:ro', '--volume', '/etc/puppet/:/tmp/puppet-etc/:ro', '--volume', '/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro', '--volume', '/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro', '--volume', '/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro', '--volume', '/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro', '--volume', '/var/lib/config-data:/var/lib/config-data/:rw', '--volume', '/var/lib/container-puppet/puppetlabs/facter.conf:/etc/puppetlabs/facter/facter.conf:ro', '--volume', '/var/lib/container-puppet/puppetlabs/:/opt/puppetlabs/:ro', '--volume', '/dev/log:/dev/log:rw', '--log-opt', 'path=/var/log/containers/stdouts/container-puppet-mysql.log', '--security-opt', 'label=disable', '--volume', '/usr/share/openstack-puppet/modules/:/usr/share/openstack-puppet/modules/:ro', '--entrypoint', '/var/lib/container-puppet/container-puppet.sh', '--net', 'host', '--volume', '/etc/hosts:/etc/hosts:ro', '--volume', '/var/lib/container-puppet/container-puppet.sh:/var/lib/container-puppet/container-puppet.sh:ro', '192.168.24.1:8787/rhosp15/openstack-mariadb:20190829.2'] run failed after error creating container storage: the container name \"container-puppet-mysql\" is already in use by \"4b9ae8aa7f5914d25e70646e5bb6e2cf3664ebc525ddc8ea1c8d8dbd75a51cf2\". You have to remove that container to be able to reuse that name.: that name is already in use", 2019-09-01 12:40:19 | " attempt(s): 1", 2019-09-01 12:40:19 | "2019-09-01 12:39:47,157 WARNING: 481318 -- Retrying running container: mysql", 2019-09-01 12:40:19 | "2019-09-01 12:39:55,111 ERROR: 481318 -- ['/usr/bin/podman', 'start', '-a', 'container-puppet-mysql'] run failed after unable to find container container-puppet-mysql: no container with name or ID container-puppet-mysql found: no such container", 2019-09-01 12:40:19 | " attempt(s): 2", 2019-09-01 12:40:19 | "2019-09-01 12:39:55,111 WARNING: 481318 -- Retrying running container: mysql", 2019-09-01 12:40:19 | "2019-09-01 12:39:58,236 ERROR: 481318 -- ['/usr/bin/podman', 'start', '-a', 'container-puppet-mysql'] run failed after unable to find container container-puppet-mysql: no container with name or ID container-puppet-mysql found: no such container", 2019-09-01 12:40:19 | " attempt(s): 3", 2019-09-01 12:40:19 | "2019-09-01 12:39:58,236 WARNING: 481318 -- Retrying running container: mysql", 2019-09-01 12:40:19 | "2019-09-01 12:39:58,236 ERROR: 481318 -- Failed running container for mysql", we are not able to create it because the name is already used and then start fails because it cannot find it. Puzzling logs.
*** Bug 1748361 has been marked as a duplicate of this bug. ***
*** Bug 1750937 has been marked as a duplicate of this bug. ***
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, 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-2019:2811