Bug 1267752
Summary: | Unable to mount a replicated volume with 2 servers, one brick per server when only 1 server is powered on from having both off | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Julien Langlois <julien.langlois> |
Component: | core | Assignee: | Kaushal <kaushal> |
Status: | CLOSED EOL | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.4 | CC: | bugs, julien.langlois, ndevos, patrick, sasundar, smohan |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
Hypervisor: VirtualBox 5.0.4
Guest OS: Ubuntu 14.04 (Trusty) 64bit
|
|
Last Closed: | 2017-03-08 11:03:12 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: |
Description
Julien Langlois
2015-09-30 20:51:48 UTC
Have you checked that glusterd is up and running after the server1 was up ? Yes, Glusterd is up and running but there is no glusterfsd. "gluster volume status" says that the volume is not started/active. (In reply to Julien Langlois from comment #2) > Yes, Glusterd is up and running but there is no glusterfsd. "gluster volume > status" says that the volume is not started/active. Hi Julien Langlois Thanks for reporting issue, I have tested this issue which is reproducible. We will fix this issue for next release. Workaround : gluster vol start <VOL_Name> force (In reply to Julien Langlois from comment #2) > Yes, Glusterd is up and running but there is no glusterfsd. "gluster volume > status" says that the volume is not started/active. Hi Julien Langlois Thanks for reporting issue, I have tested this issue which is reproducible. We will fix this issue for next release. Workaround : gluster vol start <VOL_Name> force This is known issue for two node cluster, glusterd need at least one peer node to sync metadata. If no peer is available then glusterd assume that available metadata is stale data and it won't start bricks. Usually we recommend 3 node cluster to avoid this scenario. You can over rule this by running below command "gluster vol start <VOL_Name> force" command to start bricks Anand, can you make sure that this gets documented somewhere? Once that is done, and no code change is needed, please pass a link to the doc and close this bug. Thanks! I have tried the command "gluster vol start <VOL_Name> force" and it works. However, this is not entirely satisfactory, because it cannot be performed automatically. This is really needed in a fault-tolerant context. Could we have something as a volume option to force volume start at startup even if no peer is accessible ? I did not find such a config param in the code. This is a feature request, of course. Thanks for considering it. This bug is getting closed because GlusteFS-3.7 has reached its end-of-life. Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS. If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |