You will have to set reclaim_instance_interval > 0 on your nova.conf and all delete actions will be soft by default (unless you force delete it). -- mauro(sr) On 05/06/2014 03:36 PM, Sekhar Vajjhala wrote: > 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 at lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack -- -- mauro(sr) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140506/65197111/attachment.html>