← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226013] Re: glance v2 api should delete an image if it was deleted during upload

 

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

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

Title:
  glance v2 api should delete an image if it was deleted during upload

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

Bug description:
  Glance V2 api does not initiate a deletion if the image was marked
  deleted during upload. In V1, exception.NotFound is caught and a
  deletion is initiated.

  For instance, in the upload method of v2/image_data.py, if an image is
  deleted during set_data, the image_repo.save throws an exception. But,
  the image's chunks are left behind.

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