Skip to content
Snippets Groups Projects
Commit c20cf018 authored by goldyfruit's avatar goldyfruit
Browse files

filesystem_store_datadir should not be set when external Ceph is used

When an external Ceph cluster is used, the "filesystem_store_datadir"
option is set in the "glance-api.conf" configuration file.

It should not, it's because of this condition:

  {% elif enable_ceph | bool and glance_backend_ceph | bool %}

When external Ceph cluster is used "enable_ceph" is false and
"glance_backend_ceph" is true.

glance_backend_ceph variable should be enought for this condition.

Change-Id: I2a2ab420727888cfd9fcbc4bd30a08410163b36e
Closes-Bug: #1718728
parent e9626f1f
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ flavor = keystone ...@@ -43,7 +43,7 @@ flavor = keystone
[glance_store] [glance_store]
{% if glance_backend_vmware | bool %} {% if glance_backend_vmware | bool %}
default_store = vsphere default_store = vsphere
{% elif enable_ceph | bool and glance_backend_ceph | bool %} {% elif glance_backend_ceph | bool %}
default_store = rbd default_store = rbd
{% elif enable_swift | bool and glance_backend_swift | bool %} {% elif enable_swift | bool and glance_backend_swift | bool %}
default_store = swift+http default_store = swift+http
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment