Bug 1615463

Summary: Error: Check if a temporary URL key already exists while running create_swift_temp_url_key
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-tripleo-heat-templatesAssignee: Christian Schwede (cschwede) <cschwede>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: aschultz, cschwede, dbecker, mburns, morazi, scohen, tvignaud
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.0.0-0.20180804083745 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-18 13:03:09 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 Alexander Chuzhoy 2018-08-13 16:28:28 UTC
http://logs.openstack.org/57/587857/1/gate/tripleo-ci-centos-7-undercloud-containers/088932b/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-08-02_20_39_20

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Check%20if%20a%20temporary%20URL%20key%20already%20exists%5C%22%20%20AND%20message%3A%5C%22create_swift_temp_url_key%5C%22%20AND%20message%3A%5C%22Service%20Unavailable%20(HTTP%20503)%5C%22

2018-08-02 20:39:20 | "Error running ['docker', 'run', '--name', 'create_swift_temp_url_key', '--label', 'config_id=tripleo_step4', '--label', 'container_name=create_swift_temp_url_key', '--label', 'managed_by=paunch', '--label', 'config_data={\"start_order\": 70, \"command\": \"/usr/bin/bootstrap_host_exec ironic_conductor /create_swift_temp_url_key.sh\", \"user\": \"root\", \"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/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro\", \"/etc/puppet:/etc/puppet:ro\", \"/var/lib/config-data/puppet-generated/ironic/etc/ironic:/etc/ironic:ro\", \"/var/lib/docker-config-scripts/create_swift_temp_url_key.sh:/create_swift_temp_url_key.sh:ro\"], \"image\": \"192.168.24.1:8787/tripleomaster/centos-binary-ironic-conductor:current-tripleo-updated-20180802194323\", \"detach\": false, \"net\": \"host\"}', '--net=host', '--user=root', '--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/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro', '--volume=/etc/puppet:/etc/puppet:ro', '--volume=/var/lib/config-data/puppet-generated/ironic/etc/ironic:/etc/ironic:ro', '--volume=/var/lib/docker-config-scripts/create_swift_temp_url_key.sh:/create_swift_temp_url_key.sh:ro', '192.168.24.1:8787/tripleomaster/centos-binary-ironic-conductor:current-tripleo-updated-20180802194323', '/usr/bin/bootstrap_host_exec', 'ironic_conductor', '/create_swift_temp_url_key.sh']. [1]",
2018-08-02 20:39:20 | "stdout: Check if a temporary URL key already exists",
2018-08-02 20:39:20 | "Creating a new temporary URL for project service",
2018-08-02 20:39:20 | "stderr: Service Unavailable (HTTP 503)",

Comment 1 Alexander Chuzhoy 2018-08-13 16:29:12 UTC
Note: this is a clone of upstream bug: https://bugs.launchpad.net/tripleo/+bug/1785130

Comment 8 Alexander Chuzhoy 2019-03-13 16:11:13 UTC
Verified:

https://bugs.launchpad.net/tripleo/+bug/1785130 is fixed.

Environment:
openstack-tripleo-heat-templates-9.2.1-0.20190119154863.el7ost.noarch

The patch https://review.openstack.org/590169 is presents downstream.

Comment 10 errata-xmlrpc 2019-03-18 13:03:09 UTC
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/RHBA-2019:0446