tripleo-heat-templates/deployment/swift
Bogdan Dobrelya bee00aa6b2 Fix swift containers idempotency
The change https://review.opendev.org/#/c/616116 unwinded the swift
part of the https://review.opendev.org/#/c/590008/ changes. So the
contents of the /var/lib/config-data/swift_ringbuilder config volume
used to be managed by container-puppet tool. That made swift containers
always restarted because the puppet-generated rings are always changing
on each deployment/update execution.

Restore that unwinded change back and exclude swift rings from the
management of container-puppet tooling. Instead make init containers
swift_copy_rings and swift_setup_srv to be always executed (takes
the same approach as in https://review.opendev.org/#/c/564798/).

That also fixes the issue with swift_copy_rings seems never been
executed - at least there is no traces of it in CI jobs logs for swift
init containers.

Change-Id: I23b469057e4c47c42601beb166f815ee71147c14
Closes-Bug: #1867765
Related-Bug: #1802066
Related-Bug: #1786065
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
(cherry picked from commit 9bc6640907)
2021-01-13 16:46:03 +01:00
..
releasenotes/notes Refresh Swift ring files without restarting containers 2021-01-13 16:45:18 +01:00
external-swift-proxy-baremetal-puppet.yaml swift-external: deprecate External*Url 2020-04-15 17:41:20 +02:00
swift-base.yaml flatten the swift service configurations 2019-01-26 17:10:27 -05:00
swift-dispersion-baremetal-puppet.yaml flatten the swift service configurations 2019-01-26 17:10:27 -05:00
swift-proxy-container-puppet.yaml Refresh Swift ring files without restarting containers 2021-01-13 16:45:18 +01:00
swift-ringbuilder-container-puppet.yaml Fix swift containers idempotency 2021-01-13 16:46:03 +01:00
swift-storage-container-puppet.yaml Fix swift containers idempotency 2021-01-13 16:46:03 +01:00