Bug 1554905
Summary: | Creating a replica 2 volume throws split brain possibility warning - which has a link to upstream Docs. | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Ambarish <asoman> |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> |
Status: | CLOSED ERRATA | QA Contact: | Vijay Avuthu <vavuthu> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.4 | CC: | amukherj, rhinduja, rhs-bugs, storage-qa-internal, vbellur |
Target Milestone: | --- | ||
Target Release: | RHGS 3.4.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.12.2-6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-04 06:44:14 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: | |||
Bug Blocks: | 1503137 |
Description
Ambarish
2018-03-13 14:33:44 UTC
The upstream doc points to how to avoid split-brains (by using rep 3 or arbiter) while the downstream doc points to how to resolve split-brains once we end up in one. I think we can either: a) either display only the warning and remove the documentation link in the vol create command. or (b) Disallow creation of replica 2 volumes from the CLI altogether since we are not supporting (?) replica 2 from rhgs-3.4.0. Atin/ Ambarish, what do you think? https://code.engineering.redhat.com/gerrit/#/c/132744/ can be taken in once acks are in place. Update: ========= Verified with below build : glusterfs-server-3.12.2-7.el7rhgs.x86_64 [root@dhcp35-61 ~]# gluster volume create 12 replica 2 10.70.35.61:/bricks/brick1/b0 10.70.35.174:/bricks/brick1/b1 Replica 2 volumes are prone to split-brain. Use Arbiter or Replica 3 to avoid this. Do you still want to continue? (y/n) y volume create: 12: success: please start the volume to access data [root@dhcp35-61 ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2607 |