diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-07 15:40:40 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-07 15:40:41 +0000 |
commit | 8f5c2c0447886c6a2877ea9ca6484045d5597dd9 (patch) | |
tree | e96d9091e1370407c376f6f2fbe3827799dca1d0 /nova/exception.py | |
parent | 8e51a653c2d37571e7583d101b476e7531af1035 (diff) | |
parent | c2dd3cd1adde130799339abd47d6fa380276d895 (diff) | |
download | nova-8f5c2c0447886c6a2877ea9ca6484045d5597dd9.tar.gz |
Merge "Quota changes for the nova-manage quota_usage_refresh command"
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 6fbed08ef8..a630bb996e 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1020,6 +1020,12 @@ class QuotaUsageNotFound(QuotaNotFound): msg_fmt = _("Quota usage for project %(project_id)s could not be found.") +class QuotaUsageRefreshNotAllowed(Invalid): + msg_fmt = _("Quota usage refresh of resource %(resource)s for project " + "%(project_id)s, user %(user_id)s, is not allowed. " + "The allowed resources are %(syncable)s.") + + class ReservationNotFound(QuotaNotFound): msg_fmt = _("Quota reservation %(uuid)s could not be found.") |