aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorChris Hoge <chris@openstack.org>2016-10-18 21:44:30 -0700
committerChris Hoge <chris@openstack.org>2016-10-18 21:48:36 -0700
commit70643a5237c11311fdd4381076a067179710e8c0 (patch)
tree914b79c063395ac73835ba7df0ce38db3a47f356 /ansible
parent45ebb370439f3662798daa43b4ece45f9199793d (diff)
downloadkolla-70643a5237c11311fdd4381076a067179710e8c0.tar.gz
kolla-70643a5237c11311fdd4381076a067179710e8c0.zip
Add http as allowed store when glance configured to use rbd
Adds http as an allowed store when glance is configured to use ceph/rbd as the image store. The default configuration for glance with lvm uses http as a secondary store. http store is commonly used with automation tools like heat to pull images into glance from endpoints. Without specifying http as a store the expected default behavior fails. This patch restores that default behavior. Change-Id: Id3663123b8d54e53bd1fd130b65fd8383c9f35c0 Closes-Bug: #1631637
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/glance/templates/glance-api.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2
index fd01f2b19..9d5373594 100644
--- a/ansible/roles/glance/templates/glance-api.conf.j2
+++ b/ansible/roles/glance/templates/glance-api.conf.j2
@@ -61,7 +61,7 @@ flavor = keystone
[glance_store]
{% if enable_ceph | bool and glance_backend_ceph | bool %}
default_store = rbd
-stores = rbd
+stores = rbd,http
rbd_store_user = glance
rbd_store_pool = {{ ceph_glance_pool_name }}
rbd_store_chunk_size = 8