summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorEoghan Glynn <eglynn@redhat.com>2012-08-16 16:11:03 +0100
committerVishvananda Ishaya <vishvananda@gmail.com>2012-08-16 22:51:02 -0700
commit1cf475d7a135c1078cf7df11c261618af501dc37 (patch)
tree2edca13cb18fd30557f745db9cf5ace886b1e82c /nova/exception.py
parent06d1f0dfd5d22ace96b414fd0b71fbaa668b95ce (diff)
Revert per-user-quotas
See bug 1034384, bug 1037590. This reverts commit https://github.com/openstack/nova/commit/391f345d, but leaves the DB migration in place while adding a further migration to reverse it. The motivation for reversion is that the per-user quota logic would totally undermine the per-project quotas set for a pre-existing openstack install. The per-user quota logic could be re-introduced in a fixed state after Folsom-3. Change-Id: Idd4b55a2404a25f43f6737b661f828c28501066f
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 6c855ec7e..5d232bdd8 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -750,11 +750,6 @@ 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.")