Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 923245

Summary: RHEVM | VM migration fails when migration from VDSM 3.1 host to VDSM 3.2 host
Product: Red Hat Enterprise Linux 6 Reporter: Meni Yakove <myakove>
Component: qemu-kvmAssignee: Juan Quintela <quintela>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5CC: acathrow, bsarathy, chayang, dyasny, juzhang, michen, mkenneth, qzhang, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-17 19:21:45 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:
Attachments:
Description Flags
destination host logs
none
source host logs none

Description Meni Yakove 2013-03-19 14:16:27 UTC
Description of problem:
Using RHEVM and VDSM I have cluster with 2 hosts, one have VDSM 3.1 and the second have VDSM 3.2.
My VM is running under 3.1 host and when I'm trying to migrate the VM it fails: (from qemu logs)

qemu: warning: error while loading state for instance 0x0 of device 'ram'
load of migration failed
2013-03-19 01:39:19.083+0000: shutting down

Tried to migrae using virsh and got the same error
virsh migrate --live <vm_name> qemu+ssh://<hostname>/system

dumpxml from 3.1 host and virsh create using the xml on 3.2 host successfully created.



Version-Release number of selected component (if applicable):
host 3.1 - vdsm-4.10.2-1.8.el6ev.x86_64, qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64, libvirt-0.10.2-18.el6.x86_64
host 3.2 - vdsm-4.10.2-11.0.el6ev.x86_64, qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64, libvirt-0.10.2-18.el6.x86_64




Steps to Reproduce:
1.On RHEVM webadmin create datacenter 3.0 and cluster 3.1
2.Add 2 hosts to the cluster (host 3.1 vdsm and host 3.2 vdsm)
3.Create VM and run it on host 3.1 vdsm
4.Migrate the VM to host 3.2 vdsm
  
Actual results:
VM migration failed

Expected results:
VM migration should succeed.

Comment 1 Meni Yakove 2013-03-19 14:20:21 UTC
Created attachment 712699 [details]
destination host logs

Comment 2 Meni Yakove 2013-03-19 14:21:06 UTC
Created attachment 712700 [details]
source host logs

Comment 4 Chao Yang 2013-03-20 05:53:16 UTC
Hi Meni, 
 Can you please retry with qemu-kvm >= 353 in both hosts?

Comment 5 Meni Yakove 2013-03-20 09:33:54 UTC
Using qemu-kvm-rhev-0.12.1.2-2.356.el6_4.2.x86_64 solve the migration problem.

Comment 7 Ademar Reis 2013-04-17 19:21:45 UTC
(In reply to comment #0)

> Version-Release number of selected component (if applicable):
> host 3.1 - vdsm-4.10.2-1.8.el6ev.x86_64,
> qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64, libvirt-0.10.2-18.el6.x86_64
> host 3.2 - vdsm-4.10.2-11.0.el6ev.x86_64,
> qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64, libvirt-0.10.2-18.el6.x86_64

qemu-kvh build 348 was never intended for production use and is an intermediary build, used during development.

This is a recurrent problem: it appears there's a VDSM image being used for testing with this version of qemu. If that's the case, please make sure the tests stop, as they're not valid at all.