]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove check_volume_az_zone functor and associated passing
authorJoshua Harlow <harlowja@yahoo-inc.com>
Mon, 9 Jun 2014 23:20:31 +0000 (16:20 -0700)
committerJoshua Harlow <harlowja@yahoo-inc.com>
Mon, 23 Jun 2014 23:09:10 +0000 (16:09 -0700)
commit6a7dc1cda29bb470d3ff8ee00cd8e20ae0f5cc0f
tree3a88ed277e636f06c1890ecd160e3b820ce85c1e
parent0f4d8d4c1b0937a3e9525724bb16e4c9559efdbd
Remove check_volume_az_zone functor and associated passing

To make it easier to understand why a volume is being rejected
when its availability zone is not allowed remove the functor
that does this check and use the set of valid availability zones
as the master list of valid zones that can be used (and use this
inside the task that validates this data).

Change-Id: Ib8462dbbbc33242edbbf02a7c737746d3142d043
cinder/volume/api.py
cinder/volume/flows/api/create_volume.py