Deleting an image deletes the record from the database even if the delete fails
|Category:||Core & System|
|Affected Versions:||OpenNebula 4.6|
When deleting an image (through the CLI or Sunstone), the call is made to the appropriate datastore driver, but even if that driver returns a failure from the deletion call, the image is still removed from the database. This can leave an image that is stranded on disk but not actually accessible by the frontend.