how to soft-delete ?

asked 2014-05-06 12:37:20 -0600

Sekhar gravatar image

The following are documented in the VM states: SOFT_DELETED: VM is no longer running on compute, but the disk image remains and can be brought back. HARD_DELETED: From quota and billing’s perspective, the VM no longer exists. VM will eventually be destroyed running on compute, disk images too.

But how do you delete soft and hard deletes at the API or through the nova command ? 1. nova restore <server> - "Restore a soft-deleted server " . But I don't see a nova command to do a soft delete ( only a nova force-delete ). 2. From API , POST /v2/​{tenant_id}​/servers/​{server_id}​/action with action = forceDelete will delete the server.

edit retag flag offensive close merge delete