Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1750937

Summary: osp15 composable roles update fails with : run failed after error creating container storage: the container name \"container-puppet-iscsid\" is already in use
Product: Red Hat OpenStack Reporter: pkomarov
Component: openstack-tripleo-heat-templatesAssignee: Sergii Golovatiuk <sgolovat>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: emacchi, jfrancoa, jjoyce, jschluet, mburns, michele, sathlang, scorcora, sgolovat, slinaber, tvignaud
Target Milestone: gaKeywords: Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-18 06:23:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1752148    
Bug Blocks:    

Description pkomarov 2019-09-10 19:32:51 UTC
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 1 pkomarov 2019-09-10 20:01:32 UTC
sosreports and stack home are at : http://rhos-release.virt.bos.redhat.com/log/pkomarov_sosreports/BZ_1750937/

Comment 2 pkomarov 2019-09-10 20:03:19 UTC
adding blocker? since this possibly prohibits composable roles updates

Comment 6 pkomarov 2019-09-14 13:27:15 UTC
currently this is blocked by : https://bugzilla.redhat.com/show_bug.cgi?id=1752148, 
I'll reproduce when we get over that update blocke

Comment 7 Sofer Athlan-Guyot 2019-09-17 10:47:06 UTC
Hi,

if we have confirmation that with podman 1.0.5 that deosn't happen again then we can close this as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1747885

Comment 12 Sofer 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 ***