Clarify TooManyInstances exception message.
Fixes LP 1031737. Previously the message indicated the number of instances requested and an incorrect indication of the headroom, in the case where ram or cores was the resource gone over-quota (as opposed to the number of raw instances). Change-Id: I9f7f3203f0e644ba533940a87e496bfd09da0460
This commit is contained in:
@@ -1007,7 +1007,7 @@ class QuotaError(NovaException):
|
||||
|
||||
class TooManyInstances(QuotaError):
|
||||
message = _("Quota exceeded for %(overs)s: Requested %(req)s,"
|
||||
" but already used %(used)d of %(allowed)d instances")
|
||||
" but already used %(used)d of %(allowed)d %(resource)s")
|
||||
|
||||
|
||||
class VolumeSizeTooLarge(QuotaError):
|
||||
|
Reference in New Issue
Block a user