Bug 1299710
Summary: | Glusterd: Creation of volume is failing if one of the brick is down on the server | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Atin Mukherjee <amukherj> | |
Component: | glusterd | Assignee: | Atin Mukherjee <amukherj> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bsrirama, bugs, rmekala, sasundar, smohan, storage-qa-internal | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1299432 | |||
: | 1312878 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 13:54:41 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: | 1299432 | |||
Bug Blocks: | 1312878 |
Description
Atin Mukherjee
2016-01-19 05:30:10 UTC
REVIEW: http://review.gluster.org/13258 (glusterd: Skip brickpath validation if realpath returns EIO) posted (#1) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13258 (glusterd: remove glusterd_is_brickpath_available () check) posted (#2) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13258 (glusterd: use string comparison for realpath checks in glusterd_is_brickpath_available) posted (#3) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13258 (glusterd: use string comparison for realpath checks in glusterd_is_brickpath_available) posted (#4) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13258 (glusterd: use string comparison for realpath checks in glusterd_is_brickpath_available) posted (#5) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13258 (glusterd: use string comparison for realpath checks in glusterd_is_brickpath_available) posted (#6) for review on master by Atin Mukherjee (amukherj) COMMIT: http://review.gluster.org/13258 committed in master by Jeff Darcy (jdarcy) ------ commit a60c39de31e8258cb56d8db6bd8ec2491a942a4e Author: Atin Mukherjee <amukherj> Date: Tue Jan 19 10:45:22 2016 +0530 glusterd: use string comparison for realpath checks in glusterd_is_brickpath_available glusterd_is_brickpath_available () used to call realpath() for checking the whether the new brick path matches with the existing ones. The problem with this is if the underlying file system is bad for any one of the existing bricks then realpath() would fail and we wouldn't allow to create the new brick even if it should be allowed. Fix is to use string comparison with having a new field real_path in brickinfo to store the absolute path Change-Id: I1250ea5345f00fca0f6128056ebd08750d604f0a BUG: 1299710 Signed-off-by: Atin Mukherjee <amukherj> Reviewed-on: http://review.gluster.org/13258 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Jeff Darcy <jdarcy> The fix is now available in rhgs-3.1.3 branch, hence moving the state to Modified. 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.8.0, please open a new bug report. glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |