Bug #2998

Deleting an image deletes the record from the database even if the delete fails

Added by Stephen Levy over 5 years ago. Updated almost 5 years ago.

Status:NewStart date:06/25/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:-
Resolution: Pull request:
Affected Versions:OpenNebula 4.6

Description

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.


Related issues

Related to Bug #2502: deleting image in locked state leaves current operation i... New 11/27/2013

History

#1 Updated by Ruben S. Montero over 5 years ago

  • Related to Bug #2502: deleting image in locked state leaves current operation in progress and files not cleaned added

#2 Updated by Ruben S. Montero almost 5 years ago

  • Category set to Core & System
  • Status changed from Pending to New

Also available in: Atom PDF