Bug 1786465
| Summary: | [RHOS16] overcloud swift commands failing with 503 error when barbican deployed | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Mike Abrams <mabrams> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Christian Schwede (cschwede) <cschwede> |
| Status: | CLOSED ERRATA | QA Contact: | Mike Abrams <mabrams> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 16.0 (Train) | CC: | alee, apevec, cschwede, derekh, jvisser, lhh, mburns, nkinder, pgrist, sclewis, shrjoshi, zaitcev |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 16.0 (Train on RHEL 8.1) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | DFG:Storage Squad:Swift | ||
| Fixed In Version: | openstack-tripleo-heat-templates-11.3.2-0.20200109050651.8f93d27.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-02-06 14:44:12 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
Mike Abrams
2019-12-25 12:28:05 UTC
confirmed without barbican swift is indeed functional:
[stack@undercloud-0 ~]$ . ./overcloudrc
(overcloud) [stack@undercloud-0 ~]$ rhos-release -L
Installed repositories (rhel-8.1):
16
ceph-4
ceph-osd-4
rhel-8.1
(overcloud) [stack@undercloud-0 ~]$ swift stat -v
Invalid -W option ignored: invalid action: '"ignore'
StorageURL: http://10.0.0.134:8080/v1/AUTH_5fb2626f397b48b4b2157aac66a8fb81
Auth Token: gAAAAABeFBS1rqWQjgBny216CfkN5yM_0dQEl6Gc7-_-bdW_x3SAuSxBv-xH7iMrbCqDQyNM2fiIwhfElPuhcKz5bTBRhAN4KXeglltelcAQ1JAdShHtpeTLwkFx6xnM_fiGNv0_a6YVH-7mXlbTWLlhBfzhtjrUuammE-nX2Ih7hAGc0QXIGFA
Account: AUTH_5fb2626f397b48b4b2157aac66a8fb81
Containers: 0
Objects: 0
Bytes: 0
Content-Type: text/plain; charset=utf-8
X-Timestamp: 1578374326.50316
X-Put-Timestamp: 1578374326.50316
X-Trans-Id: tx63f250fc28a9447b947f1-005e1414b5
X-Openstack-Request-Id: tx63f250fc28a9447b947f1-005e1414b5
(overcloud) [stack@undercloud-0 ~]$
---
(overcloud) [stack@undercloud-0 ~]$ cat overcloud_deploy.sh
#!/bin/bash
openstack overcloud deploy \
--timeout 100 \
--templates /usr/share/openstack-tripleo-heat-templates \
--stack overcloud \
--libvirt-type kvm \
--ntp-server clock1.rdu2.redhat.com \
-e /home/stack/virt/config_lvm.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/virt/network/network-environment.yaml \
-e /home/stack/virt/network/dvr-override.yaml \
-e /home/stack/virt/inject-trust-anchor.yaml \
-e /home/stack/virt/hostnames.yml \
-e /home/stack/virt/nodes_data.yaml \
-e ~/containers-prepare-parameter.yaml \
-e /home/stack/virt/extra_templates.yaml \
--log-file overcloud_deployment_5.log
(overcloud) [stack@undercloud-0 ~]$
Ade and Douglas investigated this (thx!), looks like the key ID is not properly set in keymaster.conf. All other parameters are set, the script itself is executed. However, it's a permission issue it seems: [root@controller-0 stdouts]# cat /var/log/containers/stdouts/set_swift_secret.log.1 2020-01-02T14:04:22.032696455+00:00 stdout F retrieve key_id 2020-01-02T14:04:27.350469375+00:00 stdout F set key_id in keymaster.conf 2020-01-02T14:04:34.100754097+00:00 stderr F [Errno 13] Permission denied: '/etc/swift/keymaster.conf.sqbo9aej.tmp' Opened an upstream bug with more details (https://bugs.launchpad.net/tripleo/+bug/1858845) and submitted a fix on Gerrit (https://review.opendev.org/#/c/701600/). 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-2020:0283 |