]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Provide user with more information on quota fail
authorOllie Leahy <oliver.leahy@hp.com>
Fri, 4 Oct 2013 14:56:26 +0000 (14:56 +0000)
committerOllie Leahy <oliver.leahy@hp.com>
Fri, 4 Oct 2013 16:21:10 +0000 (16:21 +0000)
commit2d8b905f474a879ad6a9a441e79bf7b05d2d39a5
tree90d1fe094e16b83d75368577b4844fa3e282b957
parent150e83da9f1c5168e87082f8dba16ff341545ba0
Provide user with more information on quota fail

Provide the user with useful information when a snapshot or volume
create fails because it would cause the user to exceed available quota.
Specifically report the user's current gigabyte usage and quota
allocations.

Closes-Bug: #1235148

Change-Id: Ib4c5dbcbd172c69834c2824791af755380f38e01
cinder/exception.py
cinder/tests/api/contrib/test_backups.py
cinder/tests/api/contrib/test_volume_transfer.py
cinder/transfer/api.py
cinder/volume/api.py
cinder/volume/flows/create_volume/__init__.py