Fix glance stores
Patch [1] brought a bug to glance configuration due to which glance-api wasn't brought up. The issue was in the multiple backends issue which require each backend to be specified in their own section.[2] [1] https://review.opendev.org/#/c/718513/2 [2] https://docs.openstack.org/glance/train/admin/multistores.html Change-Id: If0c06a5b727c4f0c3e5abf36bd6d2434f09b5857 Related-Bug: #1846052
This commit is contained in:
parent
ae5be5318e
commit
6495419a9f
|
@ -85,10 +85,12 @@ flavor = {{ glance_flavor }}
|
|||
default_backend = {{ glance_default_store }}
|
||||
|
||||
{% if 'file' in glance_available_stores %}
|
||||
[file]
|
||||
filesystem_store_datadir = {{ glance_system_user_home }}/{{ glance_nfs_local_directory }}/
|
||||
{% endif %}
|
||||
|
||||
{% if 'swift' in glance_available_stores %}
|
||||
[swift]
|
||||
swift_store_config_file = {{ glance_etc_dir }}/glance-swift-store.conf
|
||||
default_swift_reference = swift1
|
||||
swift_store_auth_insecure = {{ glance_swift_store_auth_insecure | bool }}
|
||||
|
@ -102,6 +104,7 @@ swift_store_endpoint_type = {{ glance_swift_store_endpoint_type }}
|
|||
{% endif %}
|
||||
|
||||
{% if 'rbd' in glance_available_stores %}
|
||||
[rbd]
|
||||
rbd_store_pool = {{ glance_rbd_store_pool }}
|
||||
rbd_store_user = {{ glance_rbd_store_user }}
|
||||
rbd_store_ceph_conf = /etc/ceph/ceph.conf
|
||||
|
|
Loading…
Reference in New Issue