87c5749a3f
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 |
||
---|---|---|
.. | ||
__init__.py | ||
api.py |