summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index c774b56cc..2b3903e1e 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -1241,6 +1241,19 @@ class CoreAPIMissing(NovaException):
message = _("Core API extensions are missing: %(missing_apis)s")
+class AgentError(NovaException):
+ message = _('Error during following call to agent: %(method)s')
+
+
+class AgentTimeout(AgentError):
+ message = _('Unable to contact guest agent. '
+ 'The following call timed out: %(method)s')
+
+
+class AgentNotImplemented(AgentError):
+ message = _('Agent does not support the call: %(method)s')
+
+
class InstanceGroupNotFound(NotFound):
message = _("Instance group %(group_uuid)s could not be found.")