yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47781
[Bug 1555476] [NEW] image delete() doesn't catch exceptions.HasSnapshot() from rbd driver
Public bug reported:
The glance_store driver raises a exceptions.HasSnapshot() if a image
can't be deleted because it has a snapshot. This exception is ignored in
glance/glance/api/v2/images.py. The code should raise at least a
HTTPConflict and print a useful error message to the user.
** Affects: glance
Importance: Undecided
Assignee: Danny Al-Gaaf (danny-al-gaaf)
Status: New
** Changed in: glance
Assignee: (unassigned) => Danny Al-Gaaf (danny-al-gaaf)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1555476
Title:
image delete() doesn't catch exceptions.HasSnapshot() from rbd driver
Status in Glance:
New
Bug description:
The glance_store driver raises a exceptions.HasSnapshot() if a image
can't be deleted because it has a snapshot. This exception is ignored
in glance/glance/api/v2/images.py. The code should raise at least a
HTTPConflict and print a useful error message to the user.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1555476/+subscriptions
Follow ups