← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1795950] [NEW] Fix cleaning of web-download image import in node_staging_uri

 

Public bug reported:

If glance api import flow fail before reaching the end of the import via web-download, it never execute the _DeleteFromFS task and keep the file in the node_staging_uri directory on the API node.
So after many fail import, node_staging_uri is never cleaned up.

The solution will be to implement the revert() function of the
_WebDownload task in order to remove the temporary file.

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  Fix cleaning of web-download image import in node_staging_uri

Status in Glance:
  New

Bug description:
  If glance api import flow fail before reaching the end of the import via web-download, it never execute the _DeleteFromFS task and keep the file in the node_staging_uri directory on the API node.
  So after many fail import, node_staging_uri is never cleaned up.

  The solution will be to implement the revert() function of the
  _WebDownload task in order to remove the temporary file.

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


Follow ups