Bug 1248382 - migration/rdma: 7.1->7.2: RDMA ERROR: ram blocks mismatch #3!
migration/rdma: 7.1->7.2: RDMA ERROR: ram blocks mismatch #3!
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
Unspecified Unspecified
urgent Severity unspecified
: rc
: ---
Assigned To: Dr. David Alan Gilbert
Virtualization Bugs
: ZStream
Depends On: 1210715
  Show dependency treegraph
Reported: 2015-07-30 04:04 EDT by Jan Kurik
Modified: 2015-09-07 11:49 EDT (History)
10 users (show)

See Also:
Fixed In Version: qemu-kvm-rhev-2.1.2-23.el7_1.8
Doc Type: Bug Fix
Doc Text:
Cause: During RDMA migration, QEMU incorrectly assumed an ordering in the list of RAM blocks was the same on the destination as the source. Consequence: Failed RDMA migrations, either after hotplugging or to newer versions of QEMU. There is a small potential for a crash or a corruption, however it normally fails cleanly with an error. Fix: QEMU now sorts the list of RAM blocks to transfer so that they always match on the source and destination. Result:
Story Points: ---
Clone Of: 1210715
Last Closed: 2015-09-07 11:49:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Kurik 2015-07-30 04:04:54 EDT
This bug has been copied from bug #1210715 and has been proposed
to be backported to 7.1 z-stream (EUS).
Comment 6 Miroslav Rezanina 2015-08-06 10:43:15 EDT
Fix included in qemu-kvm-rhev-2.1.2-23.el7_1.8
Comment 8 Shaolong Hu 2015-08-07 03:58:04 EDT
Verified on qemu-kvm-rhev-2.1.2-23.el7_1.8.x86_64:

# /usr/libexec/qemu-kvm -enable-kvm -M pc-i440fx-rhel7.1.0 -smp 4 -m 4G -name rhel6.3-64 -uuid 3f2ea5cd-3d29-48ff-aab2-23df1b6ae213 -drive file=/root/nfs/RHEL-Server-7.2-64-virtio.qcow2,cache=none,if=none,rerror=stop,werror=stop,id=drive-virtio-disk0,format=qcow2,aio=native -device virtio-blk-pci,drive=drive-virtio-disk0,id=device-virtio-disk0,bootindex=1 -netdev tap,script=/etc/qemu-ifup,id=netdev0 -device virtio-net-pci,netdev=netdev0,id=device-net0,mac=aa:54:00:11:22:33 -boot order=cd -monitor stdio -usb  -device usb-tablet,id=input0 -chardev socket,id=s1,path=/tmp/s1,server,nowait -device isa-serial,chardev=s1 -monitor tcp::1234,server,nowait -vga qxl -global qxl-vga.revision=3 -spice port=5920,disable-ticketing -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -vnc :10 -qmp tcp:0:5555,server,nowait -chardev socket,id=mon,path=/opt/mon.monitor,server,nowait -mon chardev=mon,mode=readline
QEMU 2.1.2 monitor - type 'help' for more information
(qemu) netdev_add tap,script=/etc/qemu-ifup,id=netdev1
(qemu) device_add e1000,netdev=netdev1,id=device-net1,mac=aa:54:00:11:22:34
(qemu) migrate -d rdma:
source_resolve_host RDMA Device opened: kernel name mlx4_0 uverbs device name uverbs0, infiniband_verbs class device path /sys/class/infiniband_verbs/uverbs0, infiniband class device path /sys/class/infiniband/mlx4_0, transport: (1) Infiniband
(qemu) info migrate
capabilities: xbzrle: off rdma-pin-all: off auto-converge: off zero-blocks: off 
Migration status: completed
total time: 1169 milliseconds
downtime: 164 milliseconds
setup: 4 milliseconds
transferred ram: 1060980 kbytes
throughput: 7428.26 mbps
remaining ram: 0 kbytes
total ram: 4326476 kbytes
duplicate: 824872 pages
skipped: 0 pages
normal: 264979 pages
normal bytes: 1059916 kbytes
dirty sync count: 0
Comment 10 errata-xmlrpc 2015-09-07 11:49:42 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.