]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add default_availability_zone configuration option to cinder
authorMichael Kerrin <michael.kerrin@hp.com>
Mon, 9 Sep 2013 08:12:27 +0000 (08:12 +0000)
committerMichael Kerrin <michael.kerrin@hp.com>
Thu, 12 Sep 2013 09:07:29 +0000 (09:07 +0000)
commit4fd5f9d68312776d10cc2ef775a76c0f3ece60de
tree082c84e1f0b55ff2a72978ca22fd20423eb5e72b
parent6a84a0b68d3b8b7de19e3df691b4816089a11a36
Add default_availability_zone configuration option to cinder

This option is used to specify the default AZ for the whole service. So when
creating a new volume this value is used to specify the AZ of a volume.

Previously we were overloading the use of the storage_availability_zone option
which is also used to specify what AZ a service belongs to. We still fail back
on the storage_availability_zone when creating a new volume if the
default_availability_zone is not set.

Fixes bug: 1221260

Change-Id: Iec381f50c9aeb4a0abbcaa1d7b0107de09a73544
cinder/common/config.py
cinder/tests/test_volume.py
cinder/volume/flows/create_volume/__init__.py
etc/cinder/cinder.conf.sample