Bug #2998
Deleting an image deletes the record from the database even if the delete fails
Status: | New | Start date: | 06/25/2014 | |
---|---|---|---|---|
Priority: | Normal | Due 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
History
#1 Updated by Ruben S. Montero about 7 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 over 6 years ago
- Category set to Core & System
- Status changed from Pending to New