tripleo-heat-templates/deployment/swift/releasenotes/notes/swift-refresh-rings-cc327f998490b0df.yaml
Christian Schwede 76481308b8 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
(cherry picked from commit cb982440d7)
2021-01-13 15:35:33 +00:00

7 lines
188 B
YAML

---
features:
- |
Refresh Swift ring files without restarting containers. This makes it
possible to update rings without service restarts, lowering the overhead
for updates.