Skip to content

Commit

Permalink
Disable glance file backend with external Ceph
Browse files Browse the repository at this point in the history
When using external Ceph cluster, glance_api container is only running
on one controller instead of running on all of them.

But when an external Ceph cluster is used, enable_ceph is false so
glance_backend_file is true

Using "not glance_backend_ceph | bool" instead of "not enable_ceph |
bool" should be enough.

Change-Id: I191e5ea7a0d51b0e19ed58a819c3ade5070f623d
Closes-Bug: #1722905
  • Loading branch information
goldyfruit authored and markgoddard committed Oct 27, 2017
1 parent 97cdf98 commit bb74804
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ansible/group_vars/all.yml
Expand Up @@ -510,7 +510,10 @@ keystone_default_user_role: "_member_"
#######################
# Glance options
#######################
glance_backend_file: "{{ not enable_ceph | bool }}"
# Using glance_backend_ceph rather than enable_ceph to determine whether to
# use the file backend, as this allows for the external ceph case, where
# enable_ceph is False.
glance_backend_file: "{{ not glance_backend_ceph | bool }}"
glance_backend_ceph: "{{ enable_ceph }}"
glance_backend_vmware: "no"
glance_backend_swift: "no"
Expand Down

0 comments on commit bb74804

Please sign in to comment.