summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2011-05-03 15:02:55 -0700
committerSandy Walsh <sandy.walsh@rackspace.com>2011-05-03 15:02:55 -0700
commitf50c7260fa0b1dbcfb725bedeb9bb0ed4398f767 (patch)
tree51d1808692b719f908a8d8ac6c8789ef6b408da7 /nova/exception.py
parentf6ee353e388a52e338a7f1a27f924a9a0c60f9a1 (diff)
downloadnova-f50c7260fa0b1dbcfb725bedeb9bb0ed4398f767.tar.gz
nova-f50c7260fa0b1dbcfb725bedeb9bb0ed4398f767.tar.xz
nova-f50c7260fa0b1dbcfb725bedeb9bb0ed4398f767.zip
tests and better driver loading
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index e8444cb14..586ec009b 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -449,6 +449,14 @@ class ZoneNotFound(NotFound):
message = _("Zone %(zone_id)s could not be found.")
+class SchedulerQueryDriverNotFound(NotFound):
+ message = _("Scheduler Query Driver %(driver_name)s could not be found.")
+
+
+class BadSchedulerQueryDriver(NotFound):
+ message = _("Invalid Scheduler Query Driver selected.")
+
+
class InstanceMetadataNotFound(NotFound):
message = _("Instance %(instance_id)s has no metadata with "
"key %(metadata_key)s.")