[Openstack] don't detach volume for VM error

mehmet hacısalihoğlu esedmehmet at gmail.com
Thu Jul 17 13:57:00 UTC 2014


Hi,

You must change  instances table in nova db.  After you will detach volume.

Regards.


2014-07-17 10:16 GMT+03:00 Yugang LIU <zzzz88.aaaa at gmail.com>:

>
> Hi
>
> I delete VM with "nova delete cirrors" but it raise error "The server
> has either erred or is incapable of performing the requested operation.
> (HTTP 500) "
>
> I find a volume attach the VM. The volume status is in-Use.
>
> nova volume-detach VM_server volume_lv
>
> ERROR: Cannot 'detach_volume' while instance is in vm_state error (HTTP
> 409)
>
> nova reset-state VM. It is in ERROR state.
>
> So it is in loop.
>
> VM Error -> don't detach volume -> need VM normal state -> nova
> reset-state ---
>
> |
>  |
>
>
> |__________________________________________________________________________|
>
>
> How to resolv it?
>
> --
> Best regards
>
> Yugang LIU
>
> Keep It Simple, Stupid
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140717/e21e71f5/attachment.html>


More information about the Openstack mailing list