Fix permission error if Barbican is enabled for Swift
The config files need to be relabled too avoid permission errors, otherwise
the Barbican key ID is not set and Swift fails to start.
Closes-Bug: 1858845
Change-Id: Idb94fee8aee1de3b1c7338108ccd8b45b6f169bf
(cherry picked from commit 77b48f3988
)
This commit is contained in:
parent
9bf3a14d59
commit
8a37350150
|
@ -381,7 +381,7 @@ outputs:
|
|||
list_concat:
|
||||
- {get_attr: [ContainersCommon, volumes]}
|
||||
-
|
||||
- /var/lib/config-data/puppet-generated/swift/etc/swift:/etc/swift:rw
|
||||
- /var/lib/config-data/puppet-generated/swift/etc/swift:/etc/swift:rw,z
|
||||
- /var/lib/container-config-scripts/set_swift_keymaster_key_id.sh:/set_swift_keymaster_key_id.sh:ro
|
||||
user: root
|
||||
command: "/set_swift_keymaster_key_id.sh"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes an issue where TripleO fails to set the Barbican key ID for Swift
|
||||
with a permission error if the config files are not relabeled.
|
Loading…
Reference in New Issue