]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Set the default availability zone back to nova
authorVishvananda Ishaya <vishvananda@gmail.com>
Thu, 20 Sep 2012 16:34:59 +0000 (16:34 +0000)
committerVishvananda Ishaya <vishvananda@gmail.com>
Fri, 21 Sep 2012 03:03:04 +0000 (03:03 +0000)
commitd051ca9cdf828b1e47ef5158c4b83beb9484109e
tree1143f063a48d60cecff8bc8f0af3023ec70496d4
parent32721a67ae2936093aef5ecea4efd8b32a516c32
Set the default availability zone back to nova

Currently nova and cinder have to have the same set of az's for
the ec2 api to work properly. Therefore, set the default az for
cinder to nova so they will match.

Includes a hack to az to set cinder to nova to work around gate
issues. The hack can be removed once the gate sets the zone to
nova properly.

Fixes bug 1053508

Change-Id: I9c30ccc5c79b9c4e6c1ebeb3e80d0098e1ffbb11
cinder/api/openstack/volume/volumes.py
cinder/flags.py
cinder/tests/api/openstack/volume/test_volumes.py
cinder/tests/integrated/test_volumes.py
cinder/tests/test_service.py