Red Hat Bugzilla – Bug 1107821
rdma migration: seg if destination isn't listening
Last modified: 2015-03-05 03:10:12 EST
Description of problem: Trivially able to seg qemu by attempting to migrate to a destination that isn't listening Version-Release number of selected component (if applicable): qemu-kvm-rhev-2.0.0-1.el7ev.test.x86_64 How reproducible: 100% Steps to Reproduce: 1. Get a pair of machines connected via ib 2. Start a qemu 3. migrate -d rdma:ibpair:4444 where 'ibpair' is the IP address of the other host, which you can ping via it's ib interface but doesn't have a receiving QEMU running. Actual results: seg Expected results: a nice error Additional info: Probably https://lists.gnu.org/archive/html/qemu-devel/2014-02/msg02994.html
Fixed by http://patchwork.ozlabs.org/patch/321271/ that never got merged upstream.
Fix included in qemu-kvm-1.5.3-69.el7
Verified on qemu-kvm-1.5.3-75.el7.x86_64: if des has no qemu-kvm listening: (qemu) migrate x-rdma:192.168.100.1:5555 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: (2) Ethernet rdma_get_cm_event != EVENT_ESTABLISHED after rdma_connect: Resource temporarily unavailable RDMA ERROR: connecting to destination! migrate: RDMA ERROR: connecting to destination! There is proper error report, and qemu-kvm works correctly.
During test, found another issue: Bug 1152969 - Qemu-kvm got stuck when migrate to wrong RDMA ip symptom is different, list here for reference.
According to comment 5, this bug has been fixed, as to problem in comment 6, the bug has been fixed either.
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://rhn.redhat.com/errata/RHSA-2015-0349.html