Bug 1326174
| Summary: | Volume stop is failing when one of brick is down due to underlying filesystem crash | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Atin Mukherjee <amukherj> |
| Component: | glusterd | Assignee: | Atin Mukherjee <amukherj> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.10 | CC: | bsrirama, bugs |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1325841 | Environment: | |
| Last Closed: | 2016-06-28 12:14: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: | |||
| Bug Depends On: | 1325750, 1325841 | ||
| Bug Blocks: | |||
|
Description
Atin Mukherjee
2016-04-12 03:58:25 UTC
REVIEW: http://review.gluster.org/13973 (glusterd: populate brickinfo->real_path conditionally) posted (#1) for review on release-3.7 by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13973 (glusterd: populate brickinfo->real_path conditionally) posted (#2) for review on release-3.7 by Atin Mukherjee (amukherj) COMMIT: http://review.gluster.org/13973 committed in release-3.7 by Atin Mukherjee (amukherj) ------ commit 0a92f05021ac7e24a16b09ef326461e6deeb5fc8 Author: Atin Mukherjee <amukherj> Date: Mon Apr 11 16:07:40 2016 +0530 glusterd: populate brickinfo->real_path conditionally Backport of http://review.gluster.org/13965 glusterd_brickinfo_new_from_brick () is called from multiple places and one of them is glusterd_brick_rpc_notify where its very well possible that an underlying brick's file system has crashed and a disconnect event has been received. In this case glusterd tries to build the brickinfo from the brickid in the RPC request, however the same fails as glusterd_brickinfo_new_from_brick () fails from realpath. Fix is to skip populating real_path if its a disconnect event. Change-Id: I9d9149c64a9cf2247abb731f219c1b1eef037960 BUG: 1326174 Signed-off-by: Atin Mukherjee <amukherj> Reviewed-on: http://review.gluster.org/13965 Smoke: Gluster Build System <jenkins.com> CentOS-regression: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Jeff Darcy <jdarcy> Reviewed-on: http://review.gluster.org/13973 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.12, please open a new bug report. glusterfs-3.7.12 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-devel/2016-June/049918.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |