<div dir="ltr">Hi,<br><div><br>You must change  instances table in nova db.  After you will detach volume.<br><br></div><div>Regards.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-17 10:16 GMT+03:00 Yugang LIU <span dir="ltr"><<a href="mailto:zzzz88.aaaa@gmail.com" target="_blank">zzzz88.aaaa@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi<br>
<br>
I delete VM with "nova delete cirrors" but it raise error "The server<br>
has either erred or is incapable of performing the requested operation.<br>
(HTTP 500) "<br>
<br>
I find a volume attach the VM. The volume status is in-Use.<br>
<br>
nova volume-detach VM_server volume_lv<br>
<br>
ERROR: Cannot 'detach_volume' while instance is in vm_state error (HTTP<br>
409)<br>
<br>
nova reset-state VM. It is in ERROR state.<br>
<br>
So it is in loop.<br>
<br>
VM Error -> don't detach volume -> need VM normal state -> nova<br>
reset-state ---<br>
<br>
|                                                                          |<br>
<br>
|__________________________________________________________________________|<br>
<br>
<br>
How to resolv it?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Best regards<br>
<br>
Yugang LIU<br>
<br>
Keep It Simple, Stupid<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</font></span></blockquote></div><br></div>