← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1176177] Re: FileSystem Store: Deleting an image that is uploading leaves data behind

 

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

** Changed in: glance
    Milestone: None => havana-2

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

Title:
  FileSystem Store: Deleting an image that is uploading leaves data
  behind

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

Bug description:
  When an image resource is deleted while the image data is being
  uploaded, and is allowed to complete, the image data remains in the
  data store. I only tested this with the filesystem datastore and the
  entire image remained. I would assume that currently this will happen
  for any data store since there does not appear to be any cleanup if
  this happens.

  To Reproduce:

  1) Begin uploading image
  2) Delete image that is uploading
  3) allow upload to complete
  4) Image data is in data store

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