[Bug 954692] Re: cannot detach volume from terminated instance

Adam Gandelman 954692 at bugs.launchpad.net
Thu Mar 15 00:08:27 UTC 2012


Steps to reproduce:
1. create volume
2. boot an instance (tested with cirros)
3. attach volume
4. in instance: 'sudo poweroff'
5. after kvm machine has stopped on compute node, terminate instance. results in traceback on compute.log:
  
  (nova.rpc.amqp): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 719, in _delete_instance
  (nova.rpc.amqp): TRACE:     self._shutdown_instance(context, instance, 'Terminating')
  (nova.rpc.amqp): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 681, in _shutdown_instance
  (nova.rpc.amqp): TRACE:     raise exception.Invalid(_msg % instance_uuid)
  (nova.rpc.amqp): TRACE: Invalid: trying to destroy already destroyed instance: b929bf81-65ee-46e0-8c07-5aae49a0213c

6. instance is destroyed, volume is still 'in-use'
7. detach volume, results in traceback in original bug report






** Also affects: nova
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/954692

Title:
  cannot detach volume from terminated instance

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/954692/+subscriptions



More information about the Ubuntu-server-bugs mailing list