<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi all :<br>
I found nova can not list the soft_deleted instances(v2 an v3 no
show),<br>
but seen from novaclient help<br>
<i>[tagett@stack-01 devstack]$ nova help restore </i><i><br>
</i><i> usage: nova restore <server></i><i><br>
</i><i> </i><i><br>
</i><i> Restore a soft-deleted server.</i><br>
<br>
how can I restore a soft-deleted server ? we can not list the soft
deleted instances.<br>
<br>
<i>[tagett@stack-01 devstack]$ nova list --all-tenants --status
SOFT_DELETED</i><i><br>
</i><i> +----+------+--------+------------+-------------+----------+</i><i><br>
</i><i> | ID | Name | Status | Task State | Power State | Networks |</i><i><br>
</i><i> +----+------+--------+------------+-------------+----------+</i><i><br>
</i><i> +----+------+--------+------------+-------------+----------+</i><i><br>
</i> <br>
but from the database we can see this status.<br>
<i>MariaDB [nova]> select hostname ,vm_state from instances;</i><i><br>
</i><i> | vm11111 | soft-delete |</i><i><br>
</i><i> | vm1111 | soft-delete |</i><br>
<br>
<br>
I check v3 code, it don't support restore even, how will this go ?<br>
I find some discussion <a moz-do-not-send="true"
href="https://review.openstack.org/#/c/35061/2">https://review.openstack.org/#/c/35061/2</a><br>
any comments on that ?<br>
this is designed ? we abandon the restore operation ?<br>
beside I have a WIP patch to have soft-deleted instance listed in v3
api.<br>
<a moz-do-not-send="true"
href="https://review.openstack.org/#/c/118641/">https://review.openstack.org/#/c/118641/</a>
<pre class="moz-signature" cols="72">--
Thanks,
Eli (Li Yong) Qiao</pre>
</body>
</html>