Remove glance_available_stores logic from group_vars

This logic has been added to handle TLS condition for glance when ceph
is used.
However, it was never working as `ceph` is not a valid store type, since
it should be `rbd` instead. At the same time logic around available
stores is way more complex.

Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/901034
Change-Id: I426be7d21ba9267879eadf282f5dd055485b37c3
This commit is contained in:
Dmitriy Rabotyagov 2023-11-15 15:37:20 +01:00 committed by Dmitriy Rabotyagov
parent e65a3dac33
commit 8907ce8ee4

View File

@ -15,8 +15,6 @@
# If there are Swift hosts in the environment, then use it as the default Glance store
glance_default_store: "{{ ((groups['swift_all'] is defined) and (groups['swift_all'] | length > 0)) | ternary('swift', 'file') }}"
glance_available_stores: "{{ [ glance_default_store ] + (glance_additional_stores | default([])) }}"
glance_use_uwsgi: "{{ ('ceph' not in glance_available_stores) }}"
# glance default list of bind mounts
glance_container_bind_mounts: