Bug 1450564
Summary: | glfsheal: crashed(segfault) with disperse volume in RDMA | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ji-Hyeon Gim <potatogim> |
Component: | rdma | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.10 | CC: | bugs, rtalur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.10.2 | 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-31 20:46:29 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1442603 |
Description
Ji-Hyeon Gim
2017-05-13 07:43:18 UTC
REVIEW: https://review.gluster.org/17281 (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/17281 committed in release-3.10 by Raghavendra Talur (rtalur) ------ commit 4a2368c403f883f68522bc20906d23fc4406432b Author: Ji-Hyeon Gim <potatogim> Date: Fri May 5 16:54:36 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: 1450564 Signed-off-by: Ji-Hyeon Gim <potatogim> Reviewed-on: https://review.gluster.org/17281 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: Raghavendra Talur <rtalur> 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.10.2, please open a new bug report. |