fix the instance quota overlimit message
This addresses two closely related bugs. Bug: 998199 Fix the "used" and "total" counts in the returned diagnostic. Bug: 902218 Itemize instance quota items exceeded, in the returned diagnostic. Change-Id: Iff7781a7fb53545d44c2b4ec0ca6d65114723c8d
This commit is contained in:
@@ -993,8 +993,8 @@ class QuotaError(NovaException):
|
||||
|
||||
|
||||
class TooManyInstances(QuotaError):
|
||||
message = _("Quota exceeded: already used %(used)d of %(allowed)d"
|
||||
" instances")
|
||||
message = _("Quota exceeded for %(overs)s: Requested %(req)s,"
|
||||
" but already used %(used)d of %(allowed)d instances")
|
||||
|
||||
|
||||
class VolumeSizeTooLarge(QuotaError):
|
||||
|
Reference in New Issue
Block a user