← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1345942] Re: 500 error when deleting an in-use image from Ceph

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1345942

Title:
  500 error when deleting an in-use image from Ceph

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  If user create an image with Ceph backend driver, and then create an
  instance based on the image. As a result, user will run into a 500
  error.

  After investigation, seems we're raising exception.InUseByStore() at
  the
  https://github.com/openstack/glance/blob/master/glance/store/rbd.py#L290
  if there image is still in use. But no code to catch the error at REST
  API layer.

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


References