Red Hat Bugzilla – 1750937 – osp15 composable roles update fails with : run failed after error creating container storage: the container name \"container-puppet-iscsid\" is already in use
osp15 composable roles update fails with : run failed after error creating container storage: the container name \"container-puppet-iscsid\" is already in use
Description of problem:
after deploying osp15 with composable roles :
controller:3,database:3,messaging:3,networker:2,compute:2
#when running :
[stack@undercloud-0 ~]$ cat overcloud_update_run-Compute.sh
source /home/stack/stackrc
echo "Running minor update all playbooks for Compute role"
openstack overcloud update run \
--stack overcloud \
--limit Compute --playbook all 2>&1
#we get this Error :
TASK [Run container-puppet tasks (generate config) during step 1] **************
fatal: [compute-1]: FAILED! => {
"2019-09-10 18:48:31,471 ERROR: 180542 -- ['/usr/bin/podman', 'run', '--user', 'root', '--name', 'container-puppet-iscsid', '--env', 'PUPPET_TAGS=file,file_line,concat,augeas,cron,iscsid_config', '--env', 'NAME=iscsid', '--env', 'HOSTNAME=compute-1', '--env', 'NO_ARCHIVE=', '--env', 'STEP=6', '--env', 'NET_HOST=true', '--log-driver', 'json-file', '--volume', '/etc/localtime:/etc/localtime:ro', '--volume', '/tmp/tmplvrpiki3:/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-iscsid.log', '--security-opt', 'label=disable', '--volume', '/usr/share/openstack-puppet/modules/:/usr/share/openstack-puppet/modules/:ro', '--volume', '/etc/iscsi:/etc/iscsi:z', '--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-iscsid:20190904.3'] run failed after error creating container storage: the container name \"container-puppet-iscsid\" is already in use by \"67f46f5641e52da3d708a775585c9dac5d5c279b8a6c7e575590995e621d21bb\". You have to remove that container to be able to reuse that name.: that name is already in use",
Version-Release number of selected component (if applicable):
How to reproduce:
rerun : https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/pidone/view/updates/job/DFG-pidone-updates-15_director-rhel-virthost-3cont_3db_3msg_2net_2comp-ipv4-geneve-ansible-sts-composable_roles/
Comment 12Sofer Athlan-Guyot
2019-09-18 06:23:18 UTC
Hi,
so we had another round of successful update, this is issue was certainly linked to podman 1.0.3.
Closing it a duplicate of 1747885.
*** This bug has been marked as a duplicate of bug 1747885 ***
Description of problem: after deploying osp15 with composable roles : controller:3,database:3,messaging:3,networker:2,compute:2 #when running : [stack@undercloud-0 ~]$ cat overcloud_update_run-Compute.sh source /home/stack/stackrc echo "Running minor update all playbooks for Compute role" openstack overcloud update run \ --stack overcloud \ --limit Compute --playbook all 2>&1 #we get this Error : TASK [Run container-puppet tasks (generate config) during step 1] ************** fatal: [compute-1]: FAILED! => { "2019-09-10 18:48:31,471 ERROR: 180542 -- ['/usr/bin/podman', 'run', '--user', 'root', '--name', 'container-puppet-iscsid', '--env', 'PUPPET_TAGS=file,file_line,concat,augeas,cron,iscsid_config', '--env', 'NAME=iscsid', '--env', 'HOSTNAME=compute-1', '--env', 'NO_ARCHIVE=', '--env', 'STEP=6', '--env', 'NET_HOST=true', '--log-driver', 'json-file', '--volume', '/etc/localtime:/etc/localtime:ro', '--volume', '/tmp/tmplvrpiki3:/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-iscsid.log', '--security-opt', 'label=disable', '--volume', '/usr/share/openstack-puppet/modules/:/usr/share/openstack-puppet/modules/:ro', '--volume', '/etc/iscsi:/etc/iscsi:z', '--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-iscsid:20190904.3'] run failed after error creating container storage: the container name \"container-puppet-iscsid\" is already in use by \"67f46f5641e52da3d708a775585c9dac5d5c279b8a6c7e575590995e621d21bb\". You have to remove that container to be able to reuse that name.: that name is already in use", Version-Release number of selected component (if applicable): How to reproduce: rerun : https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/pidone/view/updates/job/DFG-pidone-updates-15_director-rhel-virthost-3cont_3db_3msg_2net_2comp-ipv4-geneve-ansible-sts-composable_roles/