Add configurable option [cinder]/cross_az_attach

nova has the configuration option [cinder]/cross_az_attach with a
default of True. This option allows attaching between instances and
volumes in different availability zones.

This commit makes this option configurable in the nova.conf template
and uses a default of True.

Change-Id: Ia95f3d4447b026a8e93c74a8c65a63dcea89994f
Closes-bug: 1457140
This commit is contained in:
git-harry 2015-06-22 12:41:06 +01:00
parent 8352c967ed
commit 92b0c769eb
2 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,9 @@ nova_ec2_service_internalurl: "{{ nova_ec2_service_internaluri }}/services/Cloud
nova_ec2_program_name: nova-api-ec2
nova_ec2_deprecated_but_enabled: false
## Nova cinder
nova_cross_az_attach: True
## Nova spice
nova_spice_html5proxy_base_proto: http
nova_spice_html5proxy_base_port: 6082

View File

@ -102,6 +102,7 @@ memcached_servers = {{ memcached_servers }}
# Cinder
[cinder]
catalog_info = volume:cinder:internalURL
cross_az_attach = {{ nova_cross_az_attach }}
{% if nova_spice_html5proxy_base_url is defined and nova_console_type == "spice" %}