Bug 1449495
Summary: | glfsheal: crashed(segfault) with disperse volume in RDMA | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ji-Hyeon Gim <potatogim> | ||||
Component: | rdma | Assignee: | Ji-Hyeon Gim <potatogim> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | mainline | CC: | bugs, rkavunga | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | glusterfs-3.12.0 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1450564 1450565 (view as bug list) | Environment: |
OS : Linux
Distro : CentOS 6.7
Kernel : 2.6.32-573.el6.x86_64 #1 SMP x86_64 GNU/Linux
Network : IB(RDMA)
OFED Driver Version : Mellanox OFED 3.4-1.0.0.0
|
||||
Last Closed: | 2017-09-05 17:29:38 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ji-Hyeon Gim
2017-05-10 07:13:18 UTC
REVIEW: https://review.gluster.org/17249 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#1) for review on master by Ji-Hyeon Gim REVIEW: https://review.gluster.org/17250 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#1) for review on release-3.10 by Ji-Hyeon Gim REVIEW: https://review.gluster.org/17246 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#2) for review on release-3.10 by Ji-Hyeon Gim COMMIT: https://review.gluster.org/17249 committed in master by Shyamsundar Ranganathan (srangana) ------ commit ccfa06767f1282d9a3783e37555515a63cc62e69 Author: Ji-Hyeon Gim <potatogim> Date: Thu May 11 18:05:21 2017 +0900 rpc: fix a routine to destory RDMA qp(queue-pair) Problem: If an error has occured with rdma_create_id() in gf_rdma_connect(), process will jump to the 'unlock' label and then call gf_rdma_teardown() which call __gf_rdma_teardown(). Presently, __gf_rdma_teardown() checks InifiniBand QP with peer->cm_id->qp! Unfortunately, cm_id is not allocated and will be crushed in this situation :) Solution: If 'this->private->peer->cm_id' member is null, do not check 'this->private->peer->cm_id->qp'. Change-Id: Ie321b8cf175ef4f1bdd9733d73840f03ddff8c3b BUG: 1449495 Signed-off-by: Ji-Hyeon Gim <potatogim> Reviewed-on: https://review.gluster.org/17249 Reviewed-by: Amar Tumballi <amarts> Reviewed-by: Prashanth Pai <ppai> NetBSD-regression: NetBSD Build System <jenkins.org> Tested-by: Ji-Hyeon Gim CentOS-regression: Gluster Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> Reviewed-by: Jeff Darcy <jeff.us> REVIEW: https://review.gluster.org/17281 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#1) for review on release-3.10 by Ji-Hyeon Gim REVIEW: https://review.gluster.org/17282 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#1) for review on release-3.11 by Ji-Hyeon Gim This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/ |