diff options
author | Zuul <zuul@review.openstack.org> | 2018-07-31 10:32:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-07-31 10:32:41 +0000 |
commit | 7f9cdb5d6da53f5de51176c4af5e15daa91eb050 (patch) | |
tree | 5b9c55c997624c75d9429e4ef296adee9f741e55 /api-ref | |
parent | 3ce7fa51e9057625a114e0ec4772523a10f05758 (diff) | |
parent | 3437baedf646c7cd3da43440368edc194a880db8 (diff) | |
download | nova-7f9cdb5d6da53f5de51176c4af5e15daa91eb050.tar.gz |
Merge "Fix being able to hard reboot a pausing instance"
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/servers-actions.inc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index 6538e215e1..e15d3c06cc 100644 --- a/api-ref/source/servers-actions.inc +++ b/api-ref/source/servers-actions.inc @@ -423,6 +423,29 @@ Reboots a server. Specify the ``reboot`` action in the request body. +**Preconditions** + +The preconditions for rebooting a server depend on the type of reboot. + +You can only *SOFT* reboot a server when its status is ``ACTIVE``. + +You can only *HARD* reboot a server when its status is one of: + +* ``ACTIVE`` +* ``ERROR`` +* ``HARD_REBOOT`` +* ``PAUSED`` +* ``REBOOT`` +* ``SHUTOFF`` +* ``SUSPENDED`` + +If the server is locked, you must have administrator privileges +to reboot the server. + +**Asynchronous Postconditions** + +After you successfully reboot a server, its status changes to ``ACTIVE``. + Normal response codes: 202 Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), |