diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-06-20 17:28:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-06-20 17:28:45 +0000 |
commit | d30bf6fa8d65009c51e15bfb8270589db1d88448 (patch) | |
tree | c62bb2086704033d8a64679ee13d384ab180bf89 /nova/exception.py | |
parent | 3ab42d430d496ecf0c12d37c05f9923faf33114f (diff) | |
parent | 834fc60a8ca852be64aaaaeb5ebb3cc0de807fef (diff) | |
download | nova-d30bf6fa8d65009c51e15bfb8270589db1d88448.tar.gz nova-d30bf6fa8d65009c51e15bfb8270589db1d88448.tar.xz nova-d30bf6fa8d65009c51e15bfb8270589db1d88448.zip |
Merge "xenapi: revisit error handling around calls to agent"
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 13 |
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.") |