Bug 1297305
Summary: | [GlusterD]: Peer detach happening with a node which is hosting volume bricks | ||
---|---|---|---|
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.7 | CC: | amukherj, bsrirama, bugs, nlevinki, rhs-bugs, vbellur |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1293414 | Environment: | |
Last Closed: | 2016-02-14 03:23:54 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: | 1293273, 1293414 | ||
Bug Blocks: |
Description
Atin Mukherjee
2016-01-11 07:01:27 UTC
REVIEW: http://review.gluster.org/13210 (glusterd: import/export brickinfo->uuid) posted (#1) for review on release-3.7 by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13210 (glusterd: import/export brickinfo->uuid) posted (#2) for review on release-3.7 by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13210 (glusterd: import/export brickinfo->uuid) posted (#3) for review on release-3.7 by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/13210 (glusterd: import/export brickinfo->uuid) posted (#4) for review on release-3.7 by Atin Mukherjee (amukherj) COMMIT: http://review.gluster.org/13210 committed in release-3.7 by Atin Mukherjee (amukherj) ------ commit a7b399fd0ef928c2cca4092b00edb21e70c59f62 Author: Atin Mukherjee <amukherj> Date: Mon Dec 21 23:13:43 2015 +0530 glusterd: import/export brickinfo->uuid Backport of http://review.gluster.org/#/c/13047/ Given a two node cluster with node N1 & N2, if a dummy node N3 is peer probed, the probed node N3 goes for importing volumes from the probing node (N1), but it still doesn't have information about the other node (N2) about its membership (since peer update happens post volume updates) and hence fail to update its brick's uuid. Post that even though N2 updates N3 about its membership the brick's uuid was never generated. Now as a consequence when N3 initiates a detach of N2, it checks whether the node to be detached has any bricks configured by its respective uuid which is NULL in this case and hence it goes ahead and removes the peer which ideally it shouldn't have (refer to glusterd_friend_contains_vol_bricks () for the logic) Fix is to export brick's uuid and import it at the probed node instead of resolving it. Change-Id: I2d88c72175347550a45ab12aff0ae248e56baa87 BUG: 1297305 Signed-off-by: Atin Mukherjee <amukherj> Reviewed-on: http://review.gluster.org/13047 Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: Gaurav Kumar Garg <ggarg> Reviewed-by: Avra Sengupta <asengupt> Reviewed-on: http://review.gluster.org/13210 Fix is already available in latest 3.7.x release. 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.7, please open a new bug report. glusterfs-3.7.7 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-February/025292.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |