If an Image in LOCKED state is deleted, the driver can leave unwanted files in the datastore
|Assignee:||Ruben S. Montero||% Done:|
|Category:||Core & System|
|Target version:||Release 3.6|
|Affected Versions:||OpenNebula 3.4|
An Image in the LOCKED state is waiting for a CP SUCCESS message from the driver. If the CP operation finishes after the Image is deleted, the file will be left in the datastore.
Maybe the core could check that the Image ID returned by the CP SUCCESS does not exist, and initiate a RM operation.
bug #1295: If an image is successfully CP/CLONE/MKFS, but it no longer exists log messages is generated to check the datastore