← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1555476] Re: image delete() doesn't catch exceptions.HasSnapshot() from rbd driver

 

** Changed in: glance
   Importance: Undecided => High

** Also affects: glance/mitaka
   Importance: High
     Assignee: Danny Al-Gaaf (danny-al-gaaf)
       Status: In Progress

-- 
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:
  In Progress
Status in Glance mitaka series:
  In Progress

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


References