Bug 1323287
Summary: | TIER : Attach tier fails | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Mohammed Rafi KC <rkavunga> | |
Component: | glusterd | Assignee: | Mohammed Rafi KC <rkavunga> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | mainline | CC: | bugs, jbyers, josferna, kramdoss, rhinduja, rhs-smb, rkavunga, sashinde, vdas | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1323119 | |||
: | 1324156 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 14:02:34 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: | 1323119 | |||
Bug Blocks: | 1324156 |
Comment 1
Mohammed Rafi KC
2016-04-01 17:55:05 UTC
REVIEW: http://review.gluster.org/13890 (glusterd: fill real_path variable in brickinfo during volume import) posted (#1) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/13890 (glusterd: fill real_path variable in brickinfo during volume import) posted (#2) for review on master by mohammed rafi kc (rkavunga) RCA: For validating new bricks, we use a variable "real_path" which will be filled for every brick in local node. This variable real_path will be calculated when we create a new brick, also when we restore the brick during a glusterd restart. Now with some reason if an handshake happens from peer node because of the mismatch in data, at this time we are not populating the variable , ie it will null. If real_path becomes null, then creating a new brick will fail. which means we cannot create or add a brick into the cluster. REVIEW: http://review.gluster.org/13890 (glusterd: fill real_path variable in brickinfo during volume import) posted (#3) for review on master by mohammed rafi kc (rkavunga) REVIEW: http://review.gluster.org/13890 (glusterd: fill real_path variable in brickinfo during volume import) posted (#4) for review on master by mohammed rafi kc (rkavunga) COMMIT: http://review.gluster.org/13890 committed in master by Atin Mukherjee (amukherj) ------ commit 648357ffad482a1bda8915d42df9d5b055dae44f Author: Mohammed Rafi KC <rkavunga> Date: Fri Apr 1 23:10:51 2016 +0530 glusterd: fill real_path variable in brickinfo during volume import Variable "real_path" in brick info was used to store absolute path and using this we check the availability of the newly added bricks. But we were not populating the variable when we import a volume from peers. That caused to reset the real_path variable to zero, which resulted in validation failure for all new brick creation. Change-Id: I62be7bf452f0dcdf6aec3a4ec33c2e1fba2951ca BUG: 1323287 Signed-off-by: Mohammed Rafi KC <rkavunga> Reviewed-on: http://review.gluster.org/13890 Reviewed-by: Atin Mukherjee <amukherj> Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> 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 |