Hide Forgot
Description of problem: Stop a vm during a live storage migration causes the job "Removing Snapshot Auto-generated for Live Storage Migration of VM X" to hang and also making the vm unusable because there are "Related operation is currently in progress" Version-Release number of selected component (if applicable): rhevm-4.0.2.6-0.1.el7ev.noarch How reproducible: 50% Steps to Reproduce: 1. Create a vm with a disk (tested with iscsi) 2. Start the vm 3. Move the disk to another domain (live storage migration) (tested with nfs) 4. When the migration starts Power off the VM Actual results: - Vm powers off, engine tries to remove the snapshot auto-generated during the live migrations but the job is stuck in status STARTED. Expected results: - LSM is reverted properly, job remove snapshot finishes successfully Additional info:
Created attachment 1191931 [details] vdsm of all host and engine log job id of removal of snapshot: 2042ceb3-4777-4414-a44f-ba1a882ced09 vm id: 06a7109f-bfb5-4c80-83b4-80f1922d0fe5
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Carlos, Please note that once this BZ is resolved, the auto-generated snapshot will not be removed. This is because if the VM is down and we try to remove the auto-generated snapshot, cold merge will be performed. Cold merge is not desired during LSM because it copies base volume data to top volume in contrast to live merge where data from top volume is copied to base volume. BZ 1369942 documents this behavior and once fixed, the auto-generated snapshot will be removed in this use case.
Ala, please add some doctext explaining the behavior in comment 3. Thanks!
Verified on ovirt-engine-4.0.4-0.1.el7ev.noarch According to Doc text the auto-generated snapshot should remain and this is the case