<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 7:57 AM, mehmet hacısalihoğlu <span dir="ltr"><<a href="mailto:esedmehmet@gmail.com" target="_blank">esedmehmet@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>:<div>

<div class="h5"><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><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" target="_blank">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></div></div><br></div>
<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>
<br></blockquote></div><div class="gmail_default" style="font-family:'courier new',monospace">​What release of OpenStack?  Rather than mess with the DB directly you could use the reset-state API to change the status of the instance.​</div>

<br></div></div>