On Thu, Jul 17, 2014 at 7:57 AM, mehmet hacısalihoğlu <esedmehmet at gmail.com> wrote: > 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 >> > > > _______________________________________________ > 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 > > 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140717/9b44bc62/attachment.html>