diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-08-07 22:43:42 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-08-07 22:43:42 +0000 |
| commit | 2dfee64d77aa800cc2f2d6ea7120322ffcec2207 (patch) | |
| tree | d69deac477773410102e8db1913bbfdc54c2a745 /nova/exception.py | |
| parent | f86a44e1bd1c32e521f8d28794d1c0569540cbb3 (diff) | |
| parent | 26b1523eba3805a497c23e3b6707a85670ee11be (diff) | |
Merge "Return 409 error if get_vnc_console is called before VM is created"
Diffstat (limited to 'nova/exception.py')
| -rw-r--r-- | nova/exception.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py index 9c579322b..7e3976d0f 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -327,6 +327,10 @@ class InstanceNotInRescueMode(Invalid): message = _("Instance %(instance_id)s is not in rescue mode") +class InstanceNotReady(Invalid): + message = _("Instance %(instance_id)s is not ready") + + class InstanceSuspendFailure(Invalid): message = _("Failed to suspend instance") + ": %(reason)s" |
