diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-05-15 18:35:49 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-05-15 18:35:49 +0000 |
commit | 8dc14fad859e85752cb51fdf3f1790c58da7b51e (patch) | |
tree | 81d2b5cb277c4a9592cc39cda2894de7a1efec21 /nova/exception.py | |
parent | 773db796163d3ae3909c9f0973107160d36015bf (diff) | |
parent | 72e75dbcea66e6e4e2b0f5a931dcd647b2032ad6 (diff) | |
download | nova-8dc14fad859e85752cb51fdf3f1790c58da7b51e.tar.gz nova-8dc14fad859e85752cb51fdf3f1790c58da7b51e.tar.xz nova-8dc14fad859e85752cb51fdf3f1790c58da7b51e.zip |
Merge "xenapi: ensure vdi is not too big when resizing down"
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index a9afe37a7..439891153 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -1196,3 +1196,10 @@ class BuildAbortException(NovaException): class RescheduledException(NovaException): message = _("Build of instance %(instance_uuid)s was re-scheduled: " "%(reason)s") + + +class InstanceFaultRollback(NovaException): + def __init__(self, inner_exception=None): + message = _("Instance rollback performed due to: %s") + self.inner_exception = inner_exception + super(InstanceFaultRollback, self).__init__(message % inner_exception) |