From 93ff74e4d3a4540a0b03a7355db8fb72b6cbcf5d Mon Sep 17 00:00:00 2001 From: "Paul Bourke (pbourke)" Date: Thu, 6 Apr 2017 14:36:14 +0000 Subject: [PATCH] Revert "Remove useless variable glance_backend_file" Turns out this variable is not so useless...! In I2c167bae6f34a102cd7fe66401d7defe13bf2bf7 we need to determine if a file based backend is in use in order to determine how many api servers to start. Without this variable these kind of checks would all need to be updated every time a new shared storage backend is added. This reverts commit 867c3bda391626e3d4d6d4d6e803f08621b8f579. Change-Id: I335acc12b68b577b33d6cb28675225c40e6231cd --- ansible/group_vars/all.yml | 1 + etc/kolla/globals.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index f58ac73dd6..c6cb02fc08 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -431,6 +431,7 @@ keystone_default_user_role: "_member_" ####################### # Glance options ####################### +glance_backend_file: "{{ not enable_ceph | bool }}" glance_backend_ceph: "{{ enable_ceph }}" diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index 408bf347e7..cc2360924f 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -230,7 +230,8 @@ kolla_internal_vip_address: "10.10.10.254" # Glance - Image Options ######################### # Configure image backend. -#glance_backend_ceph: "{{ enable_ceph }}" +#glance_backend_file: "yes" +#glance_backend_ceph: "no" ####################### # Ceilometer options