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

Bug 1763698

Summary: Overcloud deployment fails in container startup on controllers
Product: Red Hat OpenStack Reporter: Alistair Tonner <atonner>
Component: openstack-ironic-python-agentAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: mlammon
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15.0 (Stein)CC: bfournie, mburns, slinaber
Target Milestone: ---Keywords: ZStream
Target Release: ---   
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-10-25 18:58:57 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:

Description Alistair Tonner 2019-10-21 11:37:32 UTC
Description of problem:
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/hardware_provisioning/view/rqci/job/DFG-hardware_provisioning-rqci-15_director-8.0-virthost-3cont_1comp_3ceph_1ipa_2ironic-ipv4-geneve-IR-OC_Ironic_TLS_EW-20190627-0807/14/

  Job run failed in overcloud deploy with numerous:
Error: /etc/ipa/ca.crt: duplicate mount destination

   errors.

Version-Release number of selected component (if applicable):
20191017.1 puddle



How reproducible:

Consistent


Steps to Reproduce:
1. Build openstack 15 with Ironic in OC controller with TLS.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Bob Fournier 2019-10-25 15:20:54 UTC
duplicate mount destination may (probably?) be due to https://bugzilla.redhat.com/show_bug.cgi?id=1717929

Comment 2 Alistair Tonner 2019-10-25 15:39:38 UTC
From undercloud-0:

   Six occurrances of  "stderr: Error: /etc/ipa/ca.crt: duplicate mount destination"  in /var/lib/mistral/overcloud/ansible.log

podman-1.0.5-1.gitf604175.module+el8.0.0+4017+bbba319f.x86_64 is the installed podman package.


Error running ['podman', 'create', '--name', 'neutron_dhcp', '--label', 'config_id=tripleo_step4', '--label', 'container_name=neutron_dhcp', '--label', 'managed_by=paunch', '--label', 'config_data={\"depends_on\": [\"openvswitch\"], \"environment\": [\"KOLLA_CONFIG_STRATEGY=COPY_ALWAYS\", \"TRIPLEO_CONFIG_HASH=553e07d2d41900907a6cb501d10e15af\"], \"healthcheck\": {\"test\": \"/openstack/healthcheck 5672\"}, \"image\": \"192.168.24.1:8787/rh-osbs/rhosp15-openstack-neutron-dhcp-agent:20191022.1\", \"net\": \"host\", \"pid\": \"host\", \"privileged\": true, \"restart\": \"always\", \"security_opt\": \"label=disable\", \"start_order\": 10, \"ulimit\": [\"nofile=16384\"], \"volumes\": [\"/etc/hosts:/etc/hosts:ro\", \"/etc/localtime:/etc/localtime:ro\", \"/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro\", \"/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro\", \"/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro\", \"/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro\", \"/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro\", \"/dev/log:/dev/log\", \"/etc/ipa/ca.crt:/etc/ipa/ca.crt:ro\", \"/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro\", \"/etc/puppet:/etc/puppet:ro\", \"/var/log/containers/neutron:/var/log/neutron:z\", \"/var/lib/kolla/config_files/neutron_dhcp.json:/var/lib/kolla/config_files/config.json:ro\", \"/var/lib/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro\", \"/lib/modules:/lib/modules:ro\", \"/run/openvswitch:/run/openvswitch:shared,z\", \"/var/lib/neutron:/var/lib/neutron:shared,z\", \"/run/netns:/run/netns:shared\", \"/var/lib/neutron/dnsmasq_wrapper:/usr/local/bin/dnsmasq:ro\", \"/var/lib/neutron/dhcp_haproxy_wrapper:/usr/local/bin/haproxy:ro\", \"/etc/pki/tls/certs/neutron.crt:/var/lib/kolla/config_files/src-tls/etc/pki/tls/certs/neutron.crt:ro\", \"/etc/pki/tls/private/neutron.key:/var/lib/kolla/config_files/src-tls/etc/pki/tls/private/neutron.key:ro\", \"/etc/ipa/ca.crt:/etc/ipa/ca.crt:ro\"]}', '--conmon-pidfile=/var/run/neutron_dhcp.pid', '--detach=true', '--log-driver', 'k8s-file', '--log-opt', 'path=/var/log/containers/stdouts/neutron_dhcp.log', '--env=KOLLA_CONFIG_STRATEGY=COPY_ALWAYS', '--env=TRIPLEO_CONFIG_HASH=553e07d2d41900907a6cb501d10e15af', '--net=host', '--pid=host', '--ulimit=nofile=16384', '--privileged=true', '--volume=/etc/hosts:/etc/hosts:ro', '--volume=/etc/localtime:/etc/localtime:ro', '--volume=/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro', '--volume=/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors: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=/dev/log:/dev/log', '--volume=/etc/ipa/ca.crt:/etc/ipa/ca.crt:ro', '--volume=/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro', '--volume=/etc/puppet:/etc/puppet:ro', '--volume=/var/log/containers/neutron:/var/log/neutron:z', '--volume=/var/lib/kolla/config_files/neutron_dhcp.json:/var/lib/kolla/config_files/config.json:ro', '--volume=/var/lib/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro', '--volume=/lib/modules:/lib/modules:ro', '--volume=/run/openvswitch:/run/openvswitch:shared,z', '--volume=/var/lib/neutron:/var/lib/neutron:shared,z', '--volume=/run/netns:/run/netns:shared', '--volume=/var/lib/neutron/dnsmasq_wrapper:/usr/local/bin/dnsmasq:ro', '--volume=/var/lib/neutron/dhcp_haproxy_wrapper:/usr/local/bin/haproxy:ro', '--volume=/etc/pki/tls/certs/neutron.crt:/var/lib/kolla/config_files/src-tls/etc/pki/tls/certs/neutron.crt:ro', '--volume=/etc/pki/tls/private/neutron.key:/var/lib/kolla/config_files/src-tls/etc/pki/tls/private/neutron.key:ro', '--volume=/etc/ipa/ca.crt:/etc/ipa/ca.crt:ro', '--security-opt=label=disable', '--cpuset-cpus=0,1,2,3', '192.168.24.1:8787/rh-osbs/rhosp15-openstack-neutron-dhcp-agent:20191022.1']. [125]",
        "stderr: Error: /etc/ipa/ca.crt: duplicate mount destination",


Error running ['podman', 'create', '--name', 'neutron_dhcp', etc.

Comment 4 Bob Fournier 2019-10-25 18:58:57 UTC
This is the same issue being tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1757979 so making this duplicate.  Please add any additional info there, from that is what indicating this will not occur until RHEL 8.1 but I'm not sure if that's the case in your setup.

*** This bug has been marked as a duplicate of bug 1757979 ***