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.
Description of problem:
This bug is from doing reproduction of https://bugzilla.redhat.com/show_bug.cgi?id=1506151#c7, boot a vm with two scsi disks that with dataplane, after migration, qemu processor hang on src host, vm hang, migration can't finish and "VM status: paused (inmigrate)" on dst host.
Version-Release number of selected component (if applicable):
x86:
3.10.0-792.el7.x86_64
qemu-kvm-rhev-2.10.0-10.el7.x86_64
seabios-bin-1.11.0-1.el7.noarch
How reproducible:
3/3
Steps to Reproduce:
1.Boot a guest on src host, there are two scsi disks that with dataplane:
/usr/libexec/qemu-kvm -nodefaults -object iothread,id=iothread0 -device virtio-scsi-pci,bus=pci.0,addr=0x1f,id=scsi0,iothread=iothread0 -drive file=/home/xianwang/rhel75.qcow2,media=disk,if=none,cache=none,id=drive_sysdisk,aio=native,format=qcow2,werror=stop,rerror=stop -device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0 -drive file=/home/xianwang/r1.qcow2,if=none,cache=none,id=drive_ddisk_2,aio=native,format=qcow2,werror=stop,rerror=stop -device scsi-hd,drive=drive_ddisk_2,bus=scsi0.0,id=ddisk_2 -monitor stdio -vga std -vnc :1 -m 4096
2.on dst host, boot a guest with the same qemu cli with src, appending -incoming tcp:0:5801
3.on src host, do migration
(qemu) migrate -d tcp:10.66.10.208:5801
(qemu) info status
VM status: running
(qemu) info migrate
Migration status: active
Actual results:
on src, qemu hang and vm hang on dst vnc, the status is "VM status: paused (inmigrate)" on dst host
kill the qemu processor of src, there are some messages prompt on dst host
on src:
(qemu) Killed
on dst:
(qemu) qemu-kvm: Failed to load virtio_pci/modern_state:modern_state
qemu-kvm: Failed to load virtio/extra_state:extra_state
qemu-kvm: Failed to load virtio-scsi:virtio
qemu-kvm: error while loading state for instance 0x0 of device '0000:00:1f.0/virtio-scsi'
qemu-kvm: warning: TSC frequency mismatch between VM (3392293 kHz) and host (3392167 kHz), and TSC scaling unavailable
qemu-kvm: load of migration failed: Input/output error
Expected results:
migration finish and vm work well on dst host
Additional info:
this issue is both for x86 and ppc
on ppc(p8), after killing the qemu processor of src, the error message of dst host is:
(qemu) qemu-kvm: Failed to load virtio_pci/modern_state:modern_state
qemu-kvm: Failed to load virtio/extra_state:extra_state
qemu-kvm: Failed to load virtio-scsi:virtio
qemu-kvm: error while loading state for instance 0x0 of device 'pci@800000020000000:1f.0/virtio-scsi'
qemu-kvm: load of migration failed: Input/output error
Verified against the following version of qemu-kvm-rhev:
qemu-kvm-rhev-2.10.0-14.el7
Src host and Des host are both with:
Kernel: 3.10.0-823.el7.x86_64
seabios: seabios-bin-1.11.0-1.el7.noarch
Verify steps: the same with this bug reported
Actual results:
Migration succeeds, and VM works well on destination side after migration
So this bug is fixed.
Comment 12Germano Veit Michel
2018-02-12 00:06:52 UTC
*** Bug 1542305 has been marked as a duplicate of this bug. ***
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/RHSA-2018:1104