Bug 1450565
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: | 3.11 | CC: | bugs, rkavunga |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.11.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1449495 | 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-05-30 18:52:18 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: |
Description
Ji-Hyeon Gim
2017-05-13 07:43:41 UTC
REVIEW: https://review.gluster.org/17282 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#2) for review on release-3.11 by Ji-Hyeon Gim REVIEW: https://review.gluster.org/17282 (rpc: fix a routine to destory RDMA qp(queue-pair)) posted (#3) for review on release-3.11 by Ji-Hyeon Gim COMMIT: https://review.gluster.org/17282 committed in release-3.11 by Shyamsundar Ranganathan (srangana) ------ commit 6c809f40a1a0b500aa09ccaa597dc7d95b1e5146 Author: Ji-Hyeon Gim <potatogim> Date: Fri May 5 16:51:19 2017 +0900 rpc: fix a routine to destory RDMA qp(queue-pair) This is backport of https://review.gluster.org/#/c/17249/ 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> (cherry picked from commit ccfa06767f1282d9a3783e37555515a63cc62e69) Change-Id: Ie321b8cf175ef4f1bdd9733d73840f03ddff8c3b BUG: 1450565 Signed-off-by: Ji-Hyeon Gim <potatogim> Reviewed-on: https://review.gluster.org/17282 Smoke: Gluster Build System <jenkins.org> Tested-by: Ji-Hyeon Gim NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Amar Tumballi <amarts> Hi Ji-Hyeon Gim, Thank you for taking the time to fix the issue, your contribution is really valuable to the project. 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.11.0, please open a new bug report. glusterfs-3.11.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-May/000073.html [2] https://www.gluster.org/pipermail/gluster-users/ |