Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1107821 - rdma migration: seg if destination isn't listening
rdma migration: seg if destination isn't listening
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
7.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Dr. David Alan Gilbert
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 13:54 EDT by Dr. David Alan Gilbert
Modified: 2015-03-05 03:10 EST (History)
10 users (show)

See Also:
Fixed In Version: qemu-kvm-1.5.3-69.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-05 03:10:12 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0349 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2015-03-05 07:27:34 EST

  None (edit)
Description Dr. David Alan Gilbert 2014-06-10 13:54:43 EDT
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
Comment 1 Dr. David Alan Gilbert 2014-06-12 06:02:08 EDT
Fixed by http://patchwork.ozlabs.org/patch/321271/ that never got merged upstream.
Comment 3 Miroslav Rezanina 2014-08-26 10:03:52 EDT
Fix included in qemu-kvm-1.5.3-69.el7
Comment 5 Shaolong Hu 2014-10-15 05:29:27 EDT
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.
Comment 6 Shaolong Hu 2014-10-15 05:53:01 EDT
During test, found another issue:

Bug 1152969 - Qemu-kvm got stuck when migrate to wrong RDMA ip

symptom is different, list here for reference.
Comment 9 Shaolong Hu 2014-11-20 22:47:27 EST
According to comment 5, this bug has been fixed, as to problem in comment 6, the bug has been fixed either.
Comment 11 errata-xmlrpc 2015-03-05 03:10:12 EST
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

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