Snapshots of non-persistent images are not deleted on VM termination
|Assignee:||Vlastimil Holer||% Done:|
|Category:||Drivers - Storage|
|Target version:||Release 5.4.3|
|Affected Versions:||OpenNebula 5.2|
snapshots of non-persistent images are not deleted from disk on VM termination. As additionally they are not accessible anymore through the OpenNebula interface after VM termination, the only way to delete them from disk then is to do it manually, in most cases by calling /bin/rm .
#4 Updated by Vlastimil Holer about 3 years ago
- Status changed from Pending to Closed
- Resolution set to worksforme
I'm trying to reproduce the problem with the latest ONE 5.4 and it's behaving as Ruben describes, the snapshots for non-persistent images are created in the VM directory inside the system datastore. It looks like some deployment misconfiguration if you see the snapshots for non-persistent images inside the image datastore.
If it still happens for you, please provide some more details. You can send them as a private e-mail if you prefer (email@example.com). For example:
1. XML description of your datastores configuration (
onedatastore list --xml)
2. XML description of some affected VM (for VM ID 123, e.g.
onevm show --xml 123)
3. Parts of the
/etc/one/oned.conf related to the datastores (TM_MAD_CONF)
For now, I'm closing this bug.