summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-01-04 22:29:51 +0000
committerGerrit Code Review <review@openstack.org>2013-01-04 22:29:51 +0000
commit3e3111f137bc14bb4aa4522bd1fcabaac154ad17 (patch)
tree3e45a15c33641cceac609c8d137f2bb721e362d3 /nova/exception.py
parent7efe647e365875dfe1fce03d9260c33349f1a75c (diff)
parentf9a868e86ce11f786538547c301b805bd68a1697 (diff)
downloadnova-3e3111f137bc14bb4aa4522bd1fcabaac154ad17.tar.gz
nova-3e3111f137bc14bb4aa4522bd1fcabaac154ad17.tar.xz
nova-3e3111f137bc14bb4aa4522bd1fcabaac154ad17.zip
Merge "Cells: Add the main code."
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index ee0a88a95..c484b5120 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -769,6 +769,34 @@ class CellNotFound(NotFound):
message = _("Cell %(cell_id)s could not be found.")
+class CellRoutingInconsistency(NovaException):
+ message = _("Inconsistency in cell routing: %(reason)s")
+
+
+class CellServiceAPIMethodNotFound(NotFound):
+ message = _("Service API method not found: %(detail)s")
+
+
+class CellTimeout(NotFound):
+ message = _("Timeout waiting for response from cell")
+
+
+class CellMaxHopCountReached(NovaException):
+ message = _("Cell message has reached maximum hop count: %(hop_count)s")
+
+
+class NoCellsAvailable(NovaException):
+ message = _("No cells available matching scheduling criteria.")
+
+
+class CellError(NovaException):
+ message = _("Exception received during cell processing: %(exc_name)s.")
+
+
+class InstanceUnknownCell(NotFound):
+ message = _("Cell is not known for instance %(instance_uuid)s")
+
+
class SchedulerHostFilterNotFound(NotFound):
message = _("Scheduler Host Filter %(filter_name)s could not be found.")