Bug 984555

Summary: Virtual guests remain in migration state after some connectivity issue.
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: ovirt-engineAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.5CC: acathrow, iheim, lpeer, michal.skrivanek, Rhev-m-bugs, rhodain, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 15:14:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Hodain 2013-07-15 13:26:59 UTC
Description of problem:
When a VM is live migrated to another host and the engine tries to cancel the operation because of some connectivity issues. The command CancelMigrateVDSCommand can failed and the VM remain in the migration state.

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

How reproducible:
Not 100% sure

Steps to Reproduce:
I am not sure, but it should be possible to start the migration and then force some connectivity issue and make the cancle operation to fail.

Actual results:
VM is in "Migration to" state

Expected results:
VM is down or UP depends on the status of the VM.

Additional info:

Comment 3 Michal Skrivanek 2013-07-29 10:00:15 UTC
it's hard to tell anything without vdsm logs, but it seems the VM didn't exist on source when hitting cancel (2013-06-14 17:40:21,017, cacnel failed with "Migration not in progress"). It may have finished the migration right before that - the status as shown in GUI may have been obfuscated by not responding host.
Can you check that and/or supply vdsm logs along with engine?

Comment 5 Michal Skrivanek 2014-01-06 15:14:17 UTC
ok...