Update "SHUTOFF" description in API guide

Two things are updated here:

1. The SHUTOFF status from the API is for any stopped server,
   regardless of whether or not it was stopped via the REST API
   or the sync_instance_power_state periodic task in the compute.

2. Remove the mention of the "shutdown_terminate" flag since that
   was only ever implemented in the legacy v2 API for EC2
   compatibility and it wouldn't actually work now with the v2.1
   server create schema anyway.

Change-Id: I97071be164d15298fa2a5a7374a8ba8235d188e4
Related-Bug: #1722403
This commit is contained in:
Matt Riedemann 2017-10-09 17:12:17 -04:00
parent e315fcbec9
commit d57b4db03b
1 changed files with 5 additions and 8 deletions

View File

@ -61,14 +61,11 @@ server status is one of the following values:
- ``SHELVED_OFFLOADED``: The shelved server is offloaded (removed from the
compute host) and it needs unshelved action to be used again.
- ``SHUTOFF``: The server was powered down by the user,
but not through the OpenStack Compute API. For example, the user
issued a ``shutdown -h`` command from within the server. If
the OpenStack Compute manager detects that the VM was powered down,
it transitions the server to the SHUTOFF status. If you use
the OpenStack Compute API to restart the server, it might
be deleted first, depending on the value in the
*``shutdown_terminate``* database field on the Instance model.
- ``SHUTOFF``: The server was powered down by the user, either through the
OpenStack Compute API or from within the server. For example, the user
issued a ``shutdown -h`` command from within the server. If the OpenStack
Compute manager detects that the VM was powered down, it transitions the
server to the SHUTOFF status.
- ``SOFT_DELETED``: The server is marked as deleted but will remain in the
cloud for some configurable amount of time. While soft-deleted, an