OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.23k stars 478 forks source link

Set NEXT_SNAPSHOT=1 for persistent images #6600

Open brodriguez-opennebula opened 4 months ago

brodriguez-opennebula commented 4 months ago

Description Next snapshot value on persistent VMs should be set to 1, because in case that the image used is not back chained by a regular template image, the first snapshot will have value 0 and will never be deleted

To Reproduce

Expected behavior The snapshot should be deleted. It does not get deleted because of Snapshots::test_delete controling the case (persistent && id == 0) and returns false

Details

Additional context

Progress Status