← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1794661] [NEW] Cannot delete attachment for an orphan volume

 

Public bug reported:

When the attached instance is lost, the related cinder volume will be
orphan and cannot be delete any more. This may happen when the instance
is removed but this information hadn't been transferred to cinder, e.g.
maybe network issue. User is not able to delete the orphan volume
because there're still some attachment with it. So user need to remove
the attachment for the volume first.

The issue is: when user try to remove the attachment by click the button
"Manage Attachments" for the orphan volume, GUI just shows: "Error:
Unable to retrieve volume information. ", and cannot open the "Manage
Attachments" dialog.

Some info may help for this bug:
To list the attachment: python-cinderclient\cinderclient\v3\attachments.py:VolumeAttachmentManager:list()
To delete an attachment: python-cinderclient\cinderclient\v3\attachments.py:VolumeAttachmentManager:delete()

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Cannot delete attachment for an orphan volume

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When the attached instance is lost, the related cinder volume will be
  orphan and cannot be delete any more. This may happen when the
  instance is removed but this information hadn't been transferred to
  cinder, e.g. maybe network issue. User is not able to delete the
  orphan volume because there're still some attachment with it. So user
  need to remove the attachment for the volume first.

  The issue is: when user try to remove the attachment by click the
  button "Manage Attachments" for the orphan volume, GUI just shows:
  "Error: Unable to retrieve volume information. ", and cannot open the
  "Manage Attachments" dialog.

  Some info may help for this bug:
  To list the attachment: python-cinderclient\cinderclient\v3\attachments.py:VolumeAttachmentManager:list()
  To delete an attachment: python-cinderclient\cinderclient\v3\attachments.py:VolumeAttachmentManager:delete()

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