Description of problem: When performing Live storage migration to VM's disk and blocking the connection from the VM's host to the disk's storage domain during the migration using iptables, the disk remain in 'locked' state and the migration failed due to: Failed to complete snapshot 'Auto-generated for Live Storage Migration' creation for VM 'xxx'. Version-Release number of selected component (if applicable): Engine - 4.1.0.4-0.1.el7 VDSM - 4.19.4-1.el7ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create a VM with disk 2. Start the VM 3. Move the disk to other storage-domain 4. Block the connection from the VM's host to the disk's storage-domain using iptables Actual results: Live storage migration failed and disk remains in 'locked' state Expected results: Live storage migration should fail nicely and disk should be in 'active' state Additional info: Engine and VDSM logs are attached
Bug also happend when when live migrate HA VM and restart the SPM host during the migration. Steps to Reproduce: 1. Create a VM with disk 2. Update the VM to be highly available 3. Start the VM 4. Move the disk to another storage-domain 5. Restart the SPM host during the migration
Created attachment 1249482 [details] engine and vdsm logs
Is this a regression?
We didn't this kind of test for a long time so I don't have any reference to know if it is a regression or not
We didn't run* this kind...
(In reply to Eyal Shenitzky from comment #5) > We didn't run* this kind... Well, you have 4.0.7 now - can you check (and btw, makes sense to automate this) ?
I will check It on 4.0 and add a flag in case of regression. This bug found when I automated the above scenario.
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.
Remove regression tag, occur in 4.1 and also in 4.0
Patch isn't ready, and we have an unlocker utility. Pushing out to 4.1.4.
Verified with the following code: ---------------------------------- VDSM - 4.19.20-1.el7ev.x86_64 RHEVM - 4.1.3.5-0.1.el7 Steps to reproduce: ------------------------ 1. Create a VM with disk 2. Start the VM 3. Move the disk to other storage-domain 4. Block the connection from the VM's host to the disk's storage-domain using Moving to VERIFIED