Hide Forgot
Created attachment 1200234 [details] PYI : The test VM was called "snapbug". Description of problem: [I'm not sure whether this is a wanted behavior, so please feel free to close this BZ if irrelevant.] After the disk is permanently removed, the snapshots still exist. I thought the snapshots were stored and related to a VM's disk. Thus, deleting a disk would have removed the snapshots. Version-Release number of selected component (if applicable): oVirt Engine Version: 3.6.7.5-1.el7.centos How reproducible: twice I saw that once on a production VM. I then reproduced it on a dedicated test VM. Steps to Reproduce: 1. Create a VM, add a disk, make 2 snapshots 2. Preview the first one, then commit. Shutdown the VM 3. Remove the disk. The snapshots remain. Actual results: Surviving snapshots. Expected results: Snapshots get erased. Additional info: The steps described above may be necessary to reproduce this bug. A simpler path may act different...
PS : The attachment contains engine and vdsm log files.
A snapshot is a VM level entity, not a disk level entity. It contains the VM's configuration at the time is was taken, the memory dump (optionally) and the state of the disk(s). If a disk is removed, the rest of the information is still valuable, and should not be removed. If you want to remove a snapshot, you can do so explicitly. Long story short - this is the expected behavior.