Merge "Cinder use correct glance API when RBD enabled"

This commit is contained in:
Jenkins 2017-02-17 21:44:50 +00:00 committed by Gerrit Code Review
commit 2e4b1ea990

View File

@ -152,7 +152,7 @@ cinder_backend_rbd_inuse: '{{ (cinder_backends|default("")|to_json).find("cinder
# cinder_backends_rbd_inuse: true if at least 1 cinder_backend on any
# cinder_volume host uses Ceph RBD
# http://stackoverflow.com/questions/9486393/jinja2-change-the-value-of-a-variable-inside-a-loop
cinder_backends_rbd_inuse: >
cinder_backends_rbd_inuse: >-
{% set _var = {'rbd_inuse': False} %}{%
for host in groups.cinder_volume %}{%
if hostvars[host].cinder_backend_rbd_inuse | bool %}{%