The following VM state are documented in
https://wiki.openstack.org/wiki/VMState .

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 do soft delete through API or 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. Again, no way to soft delete
the instance.

-- 
Sekhar Vajjhala
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to