Bug 1315626
| Summary: | glusterd crashed when probing a node with firewall enabled on only one node | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Gaurav Kumar Garg <ggarg> |
| Component: | glusterd | Assignee: | Gaurav Kumar Garg <ggarg> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.7.0 | CC: | amukherj, bugs, mselvaga, sasundar, smohan |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.10 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1310677 | Environment: | |
| Last Closed: | 2016-04-19 06:59:23 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: | 1310677 | ||
| Bug Blocks: | |||
|
Description
Gaurav Kumar Garg
2016-03-08 09:26:14 UTC
REVIEW: http://review.gluster.org/13639 (glusterd:upon re-peer probe glusterd should not return response to CLI two times) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg) REVIEW: http://review.gluster.org/13639 (glusterd:upon re-peer probe glusterd should not return response to CLI two times) posted (#2) for review on release-3.7 by Gaurav Kumar Garg (ggarg) COMMIT: http://review.gluster.org/13639 committed in release-3.7 by Atin Mukherjee (amukherj) ------ commit dc0406c3422c7d3a901b977978b400d77d6dd7ec Author: Gaurav Kumar Garg <garg.gaurav52> Date: Mon Feb 29 15:48:58 2016 +0530 glusterd:upon re-peer probe glusterd should not return response to CLI two times This patch is backport of: http://review.gluster.org/#/c/13546/ If a node N1 and node N2 is part of the cluster and a node N2 try to reprobe node N1 when N1 is disconnected by any means (for eg: either server is down or glusterd is not running or there is a network outage, or firewall is blocking port number 24007 on which glusterd listen, etc.), then glusterd trying to send back two responses to CLI resulting into a double free and a glusterd crash. With this fix glusterd will send response to cli only once and prevent glusterd crash. Note: glusterd was crashing only when user has done first peer probe with hostname and re-probe with ip-address or vice-versa. Change-Id: I92012b147091cf9129f1fbc17834b3f4d7cb46a0 BUG: 1315626 Signed-off-by: Gaurav Kumar Garg <ggarg> >> Change-Id: I92012b147091cf9129f1fbc17834b3f4d7cb46a0 >> BUG: 1310677 >> Signed-off-by: Gaurav Kumar Garg <ggarg> >> Reviewed-on: http://review.gluster.org/13546 >> Smoke: Gluster Build System <jenkins.com> >> NetBSD-regression: NetBSD Build System <jenkins.org> >> CentOS-regression: Gluster Build System <jenkins.com> >> Reviewed-by: Atin Mukherjee <amukherj> (cherry picked from commit f44232e6a18a4b79e680ea0b6322269b84fa6813) Change-Id: Ic7a35eb46099ab7456e04b7bae98c24416ec6651 Reviewed-on: http://review.gluster.org/13639 Tested-by: Gaurav Kumar Garg <ggarg> Smoke: Gluster Build System <jenkins.com> CentOS-regression: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj> 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.7.10, please open a new bug report. glusterfs-3.7.10 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] https://www.gluster.org/pipermail/gluster-users/2016-April/026164.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |