From d57b4db03b970502981582ad834fc99e37c361d6 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 9 Oct 2017 17:12:17 -0400 Subject: [PATCH] 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 --- api-guide/source/server_concepts.rst | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/api-guide/source/server_concepts.rst b/api-guide/source/server_concepts.rst index e4c0ee9648a4..15ec4752e9f3 100644 --- a/api-guide/source/server_concepts.rst +++ b/api-guide/source/server_concepts.rst @@ -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