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.
Created attachment 1139857[details]
qemu log on target
Description of problem:
Migrate a guest using qemu-kvm-rhev 2.5 to older version, or versa, both failed.
Version-Release number of selected component:
RHEL7.2:
libvirt-1.2.17-13.el7.x86_64
qemu-kvm-rhev-2.3.0-31.el7.x86_64
RHEL7.3:
libvirt-1.3.2-1.el7.x86_64
qemu-kvm-rhev-2.5.0-3.el7.x86_64
RHEL6:
qemu-kvm-rhev-0.12.1.2-2.479.el6_7.3.x86_64
libvirt-0.10.2-54.el6_7.6.x86_64
How reproducible:
100%
Steps to Reproduce:
Migrate from qemu-kvm-rhev 2.3 to qemu-kvm-rhev 2.5
1.Start a guest on RHEL7.2 host
2.Try to migrate the guest to RHEL7.3 host
# virsh migrate rhel7.2 qemu+ssh://10.66.6.200/system --live --verbose
root.6.200's password:
error: internal error: early end of file from monitor, possible problem: -chardev file,id=charserial1,path=serial.log -device isa-serial,chardev=charserial1,id=serial1 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channel/target/domain-rhel7.2/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -spice port=5900,addr=0.0.0.0,disable-ticketing,seamless-migration=on -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -incoming defer -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -device pvpanic,ioport=1285 -msg timestamp=on
2016-03-24T07:41:49.477295Z qemu-kvm: Missing section footer for ram
2016-03-24T07:41:49.477815Z qemu-kvm: load of migration failed: Invalid argume
Migrate from qemu-kvm-rhev 0.12 to qemu-kvm-rhev 2.5
1.Start a guest on RHEL6 host
2.Try to migrate the guest to RHEL7.3 host
# virsh migrate rhel6.6 qemu+ssh://10.66.6.200/system --live --verbose --unsafe
root.6.200's password:
error: operation failed: migration job: unexpectedly failed
3.Check qemu log on target:
2016-03-24T07:46:01.066249Z qemu-kvm: Missing section footer for block
copying E and F segments from pc.bios to pc.ram
copying C and D segments from pc.rom to pc.ram
2016-03-24T07:46:01.066965Z qemu-kvm: load of migration failed: Invalid argument
Migrate from qemu-kvm-rhev 2.5 to qemu-kvm-rhev 2.3
1.Start a guest on RHEL7.3 host
2.Try to migrate the guest to RHEL7.2 host
# virsh migrate rhel7.2 qemu+ssh://intel-q9400-4-2.englab.nay.redhat.com/system --live --verbose
root.nay.redhat.com's password:
error: internal error: early end of file from monitor: possible problem:
2016-03-24T07:47:33.028780Z qemu-kvm: Unknown savevm section type 126
2016-03-24T07:47:33.029029Z qemu-kvm: load of migration failed: Invalid argument
Actual results:
Migration failed.
Expected results:
Migration succeed.
Comment 4Dr. David Alan Gilbert
2016-03-24 12:06:44 UTC
OK, yes this is the section footer stuff that needs turning off in the older rhel machine types.
Comment 5Dr. David Alan Gilbert
2016-03-24 18:32:10 UTC
OK, so fixing section footers and the like get me a bit further, but then I hit:
(qemu) qemu-kvm: get_pci_config_device: Bad config data: i=0x8 read: 2 device: 0 cmask: ff wmask: 0 w1cmask:0
qemu-kvm: error while loading state for instance 0x0 of device '0000:00:02.0/vga'
qemu-kvm: load of migration failed: Invalid argument
But also we have no 7.3 machine type yet so it's a bit early to be testing.
Comment 8Dr. David Alan Gilbert
2016-06-23 16:05:47 UTC
I think this bug is fixed with the combinations of bz 1344269, 1344320, 1342015
Created attachment 1139857 [details] qemu log on target Description of problem: Migrate a guest using qemu-kvm-rhev 2.5 to older version, or versa, both failed. Version-Release number of selected component: RHEL7.2: libvirt-1.2.17-13.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7.x86_64 RHEL7.3: libvirt-1.3.2-1.el7.x86_64 qemu-kvm-rhev-2.5.0-3.el7.x86_64 RHEL6: qemu-kvm-rhev-0.12.1.2-2.479.el6_7.3.x86_64 libvirt-0.10.2-54.el6_7.6.x86_64 How reproducible: 100% Steps to Reproduce: Migrate from qemu-kvm-rhev 2.3 to qemu-kvm-rhev 2.5 1.Start a guest on RHEL7.2 host 2.Try to migrate the guest to RHEL7.3 host # virsh migrate rhel7.2 qemu+ssh://10.66.6.200/system --live --verbose root.6.200's password: error: internal error: early end of file from monitor, possible problem: -chardev file,id=charserial1,path=serial.log -device isa-serial,chardev=charserial1,id=serial1 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channel/target/domain-rhel7.2/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -spice port=5900,addr=0.0.0.0,disable-ticketing,seamless-migration=on -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -incoming defer -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -device pvpanic,ioport=1285 -msg timestamp=on 2016-03-24T07:41:49.477295Z qemu-kvm: Missing section footer for ram 2016-03-24T07:41:49.477815Z qemu-kvm: load of migration failed: Invalid argume Migrate from qemu-kvm-rhev 0.12 to qemu-kvm-rhev 2.5 1.Start a guest on RHEL6 host 2.Try to migrate the guest to RHEL7.3 host # virsh migrate rhel6.6 qemu+ssh://10.66.6.200/system --live --verbose --unsafe root.6.200's password: error: operation failed: migration job: unexpectedly failed 3.Check qemu log on target: 2016-03-24T07:46:01.066249Z qemu-kvm: Missing section footer for block copying E and F segments from pc.bios to pc.ram copying C and D segments from pc.rom to pc.ram 2016-03-24T07:46:01.066965Z qemu-kvm: load of migration failed: Invalid argument Migrate from qemu-kvm-rhev 2.5 to qemu-kvm-rhev 2.3 1.Start a guest on RHEL7.3 host 2.Try to migrate the guest to RHEL7.2 host # virsh migrate rhel7.2 qemu+ssh://intel-q9400-4-2.englab.nay.redhat.com/system --live --verbose root.nay.redhat.com's password: error: internal error: early end of file from monitor: possible problem: 2016-03-24T07:47:33.028780Z qemu-kvm: Unknown savevm section type 126 2016-03-24T07:47:33.029029Z qemu-kvm: load of migration failed: Invalid argument Actual results: Migration failed. Expected results: Migration succeed.