Fix cinder config group in nova.conf

If disable cinder in openstack environment.
Cinder of configuration items do not need to configure in nova.conf

Change-Id: Ie346dfe45f8c2d3fd383095d0c64f8e9421100ff
This commit is contained in:
shaofeng_cheng 2017-03-30 09:23:10 +08:00
parent b46144573d
commit 9ded0dbacd

View File

@ -123,8 +123,10 @@ api_servers = {{ internal_protocol }}://{% if orchestration_engine == 'KUBERNETE
num_retries = {{ groups['glance-api'] | length }}
{% if enable_cinder | bool %}
[cinder]
catalog_info = volumev2:cinderv2:internalURL
{% endif %}
[neutron]
{% if orchestration_engine == 'KUBERNETES' %}