← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1552265] Re: can't delete a error instance(boot from volume )

 

[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1552265

Title:
  can't delete a error instance(boot from volume )

Status in OpenStack Compute (nova):
  Expired

Bug description:
  The Reproduce steps:

  I create a volume from image(the cinder backend is HDS FC Storage).

  Then I boot a instance from the volume, the call path is "nova-api => nova-compute => cinder-api => cinder-volume".
  Because the HDS Driver in cinder-volume is slow in my env, so nova-compute will timeout and set the status of instance as "error".

  Then I try to delete the instance, because the value of 'os-extended-
  volumes:volumes_attached' in the instance is the volume id, so nova-
  compute will call detach-volume API in cinder-api.  Because the status
  of volume in cinder database is 'available', so the cinder-api will
  raise a 'VolumeAttachmentNotFound' exception. Finally, I failed to
  delete the error instance.

  Solution:

  nova-compute need to check the status of volume before call detach-
  volume api to cinder-api.

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


References