diff options
| author | Pádraig Brady <pbrady@redhat.com> | 2012-06-05 14:33:43 +0100 |
|---|---|---|
| committer | Pádraig Brady <pbrady@redhat.com> | 2012-06-05 18:23:14 +0100 |
| commit | 84969afb3bfd467a2f48cf030a325c1a2fcd13ca (patch) | |
| tree | c95d9f57753cb37c7388e960e15a53613a0ce097 /nova/exception.py | |
| parent | 1334ce8755c775c963aa98a6d43e521fb641a569 (diff) | |
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
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/exception.py b/nova/exception.py index fd9f4c1ea..4f7f17fb5 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -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): |
