Bug 1219958

Summary: VmReplicateDiskFinishVDSCommand and DeleteImageGroupVDSCommand are not called during Live Storage Migration and leaves unfinished jobs and locked disks
Product: Red Hat Enterprise Virtualization Manager Reporter: Javier Coscia <jcoscia>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED WORKSFORME QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: amureini, derez, ecohen, gklein, gwatson, jcoscia, lpeer, lsurette, ratamir, rbalakri, Rhev-m-bugs, tnisan, yeylon, ylavi
Target Milestone: ovirt-3.6.3   
Target Release: 3.6.0   
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-08 22:11:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1080372    
Bug Blocks:    

Description Javier Coscia 2015-05-08 20:13:20 UTC
Description of problem:

After a LSM, one of 3 disks remains in "locked" state in the RHEV GUI and the LSM sequence won't be completed since the VmReplicateDiskFinishVDSCommand and DeleteImageGroupVDSCommand are not being called 

The engine sequence below completes but VmReplicateDiskFinishVDSCommand and DeleteImageGroupVDSCommand are never executed after the SyncImageGroupDataVDSCommand.

CloneImageGroupStructureVDSCommand
VmReplicateDiskStartVDSCommand
SyncImageGroupDataVDSCommand

Version-Release number of selected component (if applicable):

rhevm-3.5.0-0.32.el6ev
vdsm-4.16.8.1-6.el6ev
Block Storage on both Storage Domains

Steps to Reproduce:
1. Perform a Live Migration Storage with more than 1 disk (3 in this case)

Actual results:

Jobs in the DB are in 'STARTED' state and the disk which didn't get move is in 'Locked' state

Expected results:

Jobs should be cleaned and the LSM procedure should complete with 

Additional info: