This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Change-Id: Ibdd783b484a84c0fdfaac84d892a8ea46be85fde (cherry picked from commit cb98244)
- Loading branch information
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
deployment/swift/releasenotes/notes/swift-refresh-rings-cc327f998490b0df.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
features: | ||
- | | ||
Refresh Swift ring files without restarting containers. This makes it | ||
possible to update rings without service restarts, lowering the overhead | ||
for updates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters