[Openstack] don't detach volume for VM error

Yugang LIU zzzz88.aaaa at gmail.com
Thu Jul 17 07:16:27 UTC 2014


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





More information about the Openstack mailing list