]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Retyping volume got error under max vol limit
authorwanghao <wanghao749@huawei.com>
Sat, 10 Oct 2015 03:18:02 +0000 (11:18 +0800)
committerwanghao <wanghao749@huawei.com>
Tue, 22 Dec 2015 03:18:33 +0000 (11:18 +0800)
commitc68bc2eb2be41a437390cbd81a499bb0ea94f180
tree785fd7f94edeacc90a38e941be86404853480086
parentac7ae7eed66118560e2b18817c94473d6d505cea
Retyping volume got error under max vol limit

After reaching the max volume limit and
retyping one of volumes, cinder will raise
error: "VolumeLimitExceeded".

This error shouldn't be occurring since the
volume type limit is -1 and retyping doesn't
change the volume quota, it changes the volume
type quota.

Change-Id: I5f25c47158ac24bef94078457a84248daa67e80f
Closes-Bug: #1504719
cinder/quota_utils.py
cinder/tests/unit/test_quota.py
cinder/tests/unit/test_volume.py
cinder/volume/api.py
cinder/volume/manager.py