Bug #1573

If an image download fails, the file is never deleted from the datastore

Added by Carlos Martín over 8 years ago. Updated over 7 years ago.

Status:NewStart date:10/23/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Drivers - Storage
Target version:-
Resolution:duplicate Pull request:
Affected Versions:OpenNebula 3.6

Description

At least happens if an Image is imported from the Marketplace, and the hash check fails.
The image is left inside the DS, but the Image is set to error and the IMAGE/SOURCE is not set. The image delete operation does not clean the downloaded file.


Related issues

Duplicated by Bug #1775: sunstone import does not fill in the source till successf... Closed 02/21/2013

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Closed
  • Resolution set to duplicate

#2 Updated by Carlos Martín over 7 years ago

  • Category set to Drivers - Storage
  • Status changed from Closed to New

Still present. Either the downloader deletes the files if it's going to report an error, or the SOURCE is filled even in case of error so the image delete operation cleans the file.

Also available in: Atom PDF