Skip to content

Commit

Permalink
Merge "Add soft delete wrinkle to api-ref"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Dec 21, 2016
2 parents 5c9d96a + 5eb8297 commit 7ead11b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions api-ref/source/servers.inc
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,14 @@ Delete Server

Deletes a server.

By default, the instance is going to be (hard) deleted immediately from
the system, but you can set ``reclaim_instance_interval`` > 0 to make
the API soft delete the instance, so that the instance's vm won't be
deleted until the ``reclaim_instance_interval`` has expired since the
instance was soft deleted. The instance marked as ``SOFT_DELETED`` can
be recovered via ``restore`` action before it's really deleted from the
system.

**Preconditions**

- The server must exist.
Expand All @@ -729,11 +737,11 @@ Deletes a server.
**Asynchronous postconditions**

- With correct permissions, you can see the server status as
``DELETED`` through API calls.
- The port attached to the server is deleted.
``DELETED`` or ``SOFT_DELETED`` through API calls.
- If hard delete, the port attached to the server is deleted.
- The server does not appear in the list servers response.
- The server managed by OpenStack Compute is deleted on the compute
node.
- If hard delete, the server managed by OpenStack Compute is deleted
on the compute node.

**Troubleshooting**

Expand Down

0 comments on commit 7ead11b

Please sign in to comment.