cinder/cinder/transfer
lisali 87c5749a3f Handle quota exceed exception
This patch solves two problems:

1. Code duplication about handling quota exceed exceptions.

2. When extending a volume, if OverQuota is caught, Cinder
raised VolumeSizeExceedsAvailableQuota with data from
quota gigabytes. This is not correct, as it may exceed
gigabytes of volume type.

This patch is to transfer quota data from gigabytes or
[volume_type_name]gigabytes to VolumeSizeExceedsAvailableQuota.

3. Raise new exception if overs are not expected.

Change-Id: I811ce51a4aefe8a99f0f5197ab071212322c584d
Closes-bug: 1546890
2016-06-14 09:56:10 +08:00
..
__init__.py Move oslo.utils to oslo_utils namespace 2015-01-19 21:50:34 -06:00
api.py Handle quota exceed exception 2016-06-14 09:56:10 +08:00