<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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).<br>
<br>
--<br>
mauro(sr)<br>
<br>
<br>
<br>
On 05/06/2014 03:36 PM, Sekhar Vajjhala wrote:<br>
</div>
<blockquote
cite="mid:CAL4T_tZVAtxx9SAM-CQi7h+X+=Sh8NsC5Uce+N-QLkH7FsgdhA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>The following VM state are documented in <a
moz-do-not-send="true"
href="https://wiki.openstack.org/wiki/VMState">https://wiki.openstack.org/wiki/VMState</a>
. <br>
</div>
<div><br>
</div>
<div>SOFT_DELETED: VM is no longer running on compute, but the
disk image remains and can be brought back.</div>
<div>HARD_DELETED: From quota and billing’s perspective, the VM
no longer exists. VM will eventually be destroyed running on
compute, disk images too.</div>
<div><br>
</div>
<div>But how do you do soft delete through API or the nova
command ? </div>
<div>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 ). </div>
<div>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.</div>
<div><br>
</div>
-- <br>
<div dir="ltr">Sekhar Vajjhala</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
-- mauro(sr)</pre>
</body>
</html>