]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Keep volume available if retype fails due to quota
authorMike Perez <thingee@gmail.com>
Tue, 22 Apr 2014 23:27:42 +0000 (16:27 -0700)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 14:08:50 +0000 (22:08 +0800)
commit555e629a32fdc3c4e01c58abbec0525c420d8285
tree561739ebf955a7d01c86f1f5599ef81e336c825e
parent0a665d232e959de4c9d057f94dfbd1322653d940
Keep volume available if retype fails due to quota

If we're over quota for a volume type that we're retyping a volume to,
keep the volume available.

Closes-Bug: #1308819
Change-Id: I7e66e95bf12b7e5a6df04eeb5a501badb5f2941f
(cherry picked from commit 3305f9dd061e70736fc4b890a207ecd4d30c3544)
cinder/tests/test_volume.py
cinder/volume/api.py