← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2075489] Re: The image file will still in stage when using image conversion plugin

 

We have a cleanup job to delete images from staging area which left
orphan there.

This will run on service startup where it will check the staging area
for any left/partial data files and delete it from there.

https://github.com/openstack/glance/blob/master/glance/common/wsgi.py#L467
https://github.com/openstack/glance/blob/master/glance/common/wsgi_app.py#L98


** Changed in: glance
       Status: New => Opinion

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

Title:
  The image file will still in stage when using image conversion  plugin

Status in Glance:
  Opinion

Bug description:
  Delete an image that is in an importing state, if glance has used the
  image format conversion plugin, the image file will remain in the
  stage if the image has been converted.

  Ideally image file should be deleted from the stage.

  Environment settings: 
  glance-direct,web-download method enabled in glance-api.conf
  use image_conversion plugin

  How to reproduce:
  1. Create an image by web-download, and the format is qcow2 or other, not default format in glance-image-import.conf.

  2. When the image is in importing status, delete it.

  Expected result:
      image should be in deleted, and image file should be deleted from staging area.

  Actual result: 
      image is deleted,but the image file remains in staging area.

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



References