-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swift: Add a config option for prefixing all containers
The `swift_container_prefix` option by itself only prefixes the containers created for metric storage. This is not enough to allow multiple Gnocchi deployments to share the same OpenStack project, as additional containers are created for Gnocchi configuration as well as for incoming metric storage, if Swift is also used as the incoming storage driver. This adds a new `swift_container_prefix_all` flag for enabling prepending `swift_container_prefix` to **all** Swift containers that can be made by Gnocchi. This allows new deployments of Gnocchi to be configured in a way that multiple deployments can share the project (e.g. a service project in a multi-region cloud). Unfortunately, existing Gnocchi deployments cannot easily be reconfigured to enable prefixes, nor can the prefix easily be changed. Fixes #1067.
- Loading branch information
Showing
2 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
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