diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-08-06 16:36:48 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-08-06 16:36:48 +0000 |
| commit | f3064d7e08cd7689b8eabed37dff313ee80b4eed (patch) | |
| tree | ce78685d6a195bb90a6b13d682c7e60d02654937 /nova/exception.py | |
| parent | d752c49ce06ad0dd3f513bc255c2d7e3ea6ee8ae (diff) | |
| parent | 391f345dfff174108e330de1ed4c7ed18f8ff923 (diff) | |
Merge "Adds per-user-quotas support for more detailed quotas management"
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index e4e738e85..9c579322b 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -721,6 +721,11 @@ class QuotaResourceUnknown(QuotaNotFound): message = _("Unknown quota resources %(unknown)s.") +class UserQuotaNotFound(QuotaNotFound): + message = _("Quota for user %(user_id)s in project %(project_id)s " + "could not be found.") + + class ProjectQuotaNotFound(QuotaNotFound): message = _("Quota for project %(project_id)s could not be found.") |
