| Summary: | Second gluster volume is offline after daemon restart or server reboot | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Samikshan Bairagya <sbairagy> |
| Component: | glusterd | Assignee: | Samikshan Bairagya <sbairagy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | amukherj, bugs, fua82-redhat, sbairagy |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.9.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1366813 | Environment: | |
| Last Closed: | 2017-03-27 18:19:04 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1366813 | ||
|
Description
Samikshan Bairagya
2016-08-16 13:56:33 UTC
REVIEW: http://review.gluster.org/15183 (glusterd: Fix volume restart issue upon glusterd restart) posted (#1) for review on master by Samikshan Bairagya (samikshan) COMMIT: http://review.gluster.org/15183 committed in master by Atin Mukherjee (amukherj) ------ commit dd8d93f24a320805f1f67760b2d3266555acf674 Author: Samikshan Bairagya <samikshan> Date: Tue Aug 16 16:46:41 2016 +0530 glusterd: Fix volume restart issue upon glusterd restart http://review.gluster.org/#/c/14758/ introduces a check in glusterd_restart_bricks that makes sure that if server quorum is enabled and if the glusterd instance has been restarted, the bricks do not get started. This prevents bricks which have been brought down purposely, say for maintainence, from getting started upon a glusterd restart. However this change introduced regression for a situation that involves multiple volumes. The bricks from the first volume get started, but then for the subsequent volumes the bricks do not get started. This patch fixes that by setting the value of conf->restart_done to _gf_true only after bricks are started correctly for all volumes. Change-Id: I2c685b43207df2a583ca890ec54dcccf109d22c3 BUG: 1367478 Signed-off-by: Samikshan Bairagya <samikshan> Reviewed-on: http://review.gluster.org/15183 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster 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.9.0, please open a new bug report. glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html [2] https://www.gluster.org/pipermail/gluster-users/ |