Description of problem: Currently, when snapshotting a running VM, the current VM spec at the time of the snapshot is stored. This is wrong. What should be stored is the VM spec at the time the VM started. To understand why the current behavior is problematic, consider that the VM spec may be edited while the VM is running. But those changes will not take effect until the VM is restarted. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create running VM 2. Add DataVolumeTemplate to VM 3. Snapshot VM Actual results: The new volume is included in the snapshot. Expected results: The new volume should not be snapshotted. Additional info:
Can you mention which upstream commit fixes this? thanks!
@mrashish this is currently in a pr, was not merged nor backported yet (pr : https://github.com/kubevirt/kubevirt/pull/6241)
verified on CNV 4.9.0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.9.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4104