-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused glance backends in ci_dcn_site role
The enabled_backends for Glance were wrong. Simplify the jinja to define them by basing their logic on a new `ci_dcn_site_glance_map` fact which maps backend names to a list of enabled backned names such that: - The map for az0 contains all AZ backends - The map for AZs other than az0 contains backends for az0 and itself Two new Ansible tasks named after the above define the new map. In the case of three AZs it looks like this: map: az0: ['az0', 'az1', 'az2'] az1: ['az0', 'az1'] az2: ['az0', 'az2'] Also, remove the customServiceConfig from the Glance template since it's different for each Glance API pod and rename the default backend to 'az0' by setting the `keystoneEndpoint`. Also, as recommended by glance team, set replica count for glance pods of type edge to 1 instead of 3. Signed-off-by: John Fulton <[email protected]>
- Loading branch information
1 parent
6f73675
commit dc79ad0
Showing
4 changed files
with
24 additions
and
41 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
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