Dmitriy Rabotyagov aa69a6fe5c Make glance_additional_stores work nicely with multi-store
While we assume that glance_additional_stores can be list of mappings
for multistore glance support, bunch of other logic in role still treats
it as simple list and make verifications against it. So in case one
dares to override variable according to our suggestion, they also need
to override bunch of other things.

We change defaults for `glance_available_stores` variable and always
define it as a multistore list of mappings.

Then we introduce a variable `glance_available_store_types` that is a
list of types for each of configured storage.

Logic of how storages are defined in glance config is also changed now.
Storages won't be defined if there's no "default" record for them in
glance_available_stores.

For each new store that deployer wants to provision, they now can pass
`config` key for glance stores, rather then use config overrides.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/901041
Change-Id: I1416e0f6e3ed79abd10f468b52fc712d35a61bd2
2023-11-27 11:36:33 +00:00
2023-11-06 08:32:26 +00:00
2023-07-14 14:56:14 +02:00
2019-04-19 19:36:19 +00:00
2016-09-27 18:46:26 +01:00
2020-07-07 07:30:17 +03:00

Team and repository tags

image

OpenStack-Ansible glance

This Ansible role installs and configures OpenStack glance api.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_glance/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-os_glance/

The project source code repository is located at:

https://opendev.org/openstack/openstack-ansible-os_glance/

The project home is at:

https://launchpad.net/openstack-ansible

The project bug tracker is located at:

https://bugs.launchpad.net/openstack-ansible

Description
Role os_glance for OpenStack-Ansible
Readme 7.1 MiB
Languages
Jinja 48.1%
Python 37.3%
Shell 14.6%