]> 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)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 21 Sep 2012 03:35:10 +0000 (21:35 -0600)
commit78d12e86e792c14dc075221613e2838eea948005
tree0c3cc9c09eb5279f77013f25d8b3f9f18e5c60eb
parentb33bf44eca13520587c94f00798988cee49475c9
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
(cherry picked from commit d051ca9cdf828b1e47ef5158c4b83beb9484109e)
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