Bug 1536300

Summary: Live Migration: Engine fails to pass the destination Host parameter when user shuts down VM in the middle of migration
Product: Red Hat Enterprise Virtualization Manager Reporter: Anitha Udgiri <audgiri>
Component: ovirt-engineAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED ERRATA QA Contact: Israel Pinto <ipinto>
Severity: high Docs Contact:
Priority: high    
Version: 4.1.8CC: amarchuk, gwatson, lsurette, mavital, michal.skrivanek, obockows, ratamir, rbalakri, Rhev-m-bugs, srevivo, troels, ykaul, ylavi
Target Milestone: ovirt-4.2.1Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1540914 (view as bug list) Environment:
Last Closed: 2018-05-15 17:47:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1505399    
Bug Blocks: 1540914    

Description Anitha Udgiri 2018-01-19 05:15:44 UTC
Description of problem:
When a VM being migrated from Host A to Host B is shutdown manually by a user before the migration completes, although VM status is "Down" , engine fails to pass the destination Host parameter .

The VM ends up being in  "MigratingTo" state without any associated Host.

It fails to let any other operation on it until manual DB intervention.

Version-Release number of selected component (if applicable):
rhevm-4.1.8.2-0.1.el7.noarch 




Additional info:

Comment 3 Michal Skrivanek 2018-01-22 13:36:04 UTC
looks like a duplicate of bug 1505399

Comment 4 RHV bug bot 2018-01-26 19:17:48 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.1.z': '?'}', ]

For more info please contact: rhv-devops

Comment 5 RHV bug bot 2018-01-30 14:00:43 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found clone flags: ['rhevm-4.1.z', 'rhevm-4.2-ga'], ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found clone flags: ['rhevm-4.1.z', 'rhevm-4.2-ga'], ]

For more info please contact: rhv-devops

Comment 7 RHV bug bot 2018-02-02 22:05:28 UTC
INFO: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[No relevant external trackers attached]

For more info please contact: rhv-devops

Comment 8 Israel Pinto 2018-02-11 14:03:38 UTC
Verify with:
Engine: Software Version:4.2.1.6-0.1.el7
Host: 
OS Version:RHEL - 7.4 - 18.el7
Kernel Version:3.10.0 - 693.17.1.el7.x86_64
KVM Version:2.9.0 - 16.el7_4.14
LIBVIRT Version:libvirt-3.9.0-8.el7
VDSM Version:vdsm-4.20.17-1.el7ev


Steps:
1. Start vm 
2. Migration VM
3. While migration start , state "migrateTo" - Stop VM

Results:
VM stopped, VM not exist on any host.

Comment 14 errata-xmlrpc 2018-05-15 17:47:24 UTC
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, 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/RHEA-2018:1488

Comment 15 Franta Kust 2019-05-16 13:06:40 UTC
BZ<2>Jira Resync