From c20cf01872f20ecd1281d33e21c81ee8ecaf962b Mon Sep 17 00:00:00 2001 From: goldyfruit Date: Thu, 21 Sep 2017 12:39:48 -0400 Subject: [PATCH] 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 --- ansible/roles/glance/templates/glance-api.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2 index a68e1d9cd0..540838e19c 100644 --- a/ansible/roles/glance/templates/glance-api.conf.j2 +++ b/ansible/roles/glance/templates/glance-api.conf.j2 @@ -43,7 +43,7 @@ flavor = keystone [glance_store] {% if glance_backend_vmware | bool %} default_store = vsphere -{% elif enable_ceph | bool and glance_backend_ceph | bool %} +{% elif glance_backend_ceph | bool %} default_store = rbd {% elif enable_swift | bool and glance_backend_swift | bool %} default_store = swift+http