tripleo-heat-templates/deployment/swift
Christian Schwede cb982440d7 Refresh Swift ring files without restarting containers
Updating rings consists of multiple steps today:
1. Apply puppet in the swift_ringbuilder container
2. Copying files in step 3 using swift_copy_rings
3. Run kolla_set_config to copy files to /etc/swift before starting
   Swift service processes

This needs a container restart today, because kolla_set_config will be
executed only on container (re-)starts.

This patch will execute kolla_set_configs at the step 5 of deployment,
and apply all ring changes, if any, for the Swift processes without
a container restart. Swift processes will notice the changed ring files
within 15 seconds and will use the updated rings.

Co-authored-by: Bogdan Dobrelya <bdobreli@redhat.com>
Change-Id: Ibdd783b484a84c0fdfaac84d892a8ea46be85fde
2020-10-29 14:35:17 +01:00
..
releasenotes/notes Refresh Swift ring files without restarting containers 2020-10-29 14:35:17 +01:00
external-swift-proxy-baremetal-puppet.yaml Manage all Keystone resources with Ansible 2020-01-06 22:33:05 +00:00
swift-base.yaml flatten the swift service configurations 2019-01-26 17:10:27 -05:00
swift-dispersion-baremetal-puppet.yaml Use absolute name to include puppet classes 2020-04-11 08:13:23 +09:00
swift-proxy-container-puppet.yaml Refresh Swift ring files without restarting containers 2020-10-29 14:35:17 +01:00
swift-ringbuilder-container-puppet.yaml Fix Swift ring file synchronization issue 2020-09-03 11:27:38 +02:00
swift-storage-container-puppet.yaml Refresh Swift ring files without restarting containers 2020-10-29 14:35:17 +01:00