[Bugs] [Bug 1493166] New: gluster volume asks for confirmation for disperse volume even with force

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 19 13:56:26 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1493166

            Bug ID: 1493166
           Summary: gluster volume asks for confirmation for disperse
                    volume even with force
           Product: GlusterFS
           Version: 3.11
         Component: cli
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: zdenek.styblik at gmail.com
                CC: bugs at gluster.org



Description of problem:

When creating dispersed volume, replica 2, cli asks for confirmation even when
force is give. This is a breaking change as it used to work before and even
without force, although I cannot confirm this, because we don't have 3.4
anymore.


Version-Release number of selected component (if applicable):

Debian Jessie 3.11.3-2

How reproducible:

Every time/easy.


Steps to Reproduce:

gluster volume create myvolume replica 2 transport tcp
host01.example.com:/brick/myvolume host02.example.com:/brick/myvolume force
Replica 2 volumes are prone to split-brain. Use Arbiter or Replica 3 to avoid
this. See: 
https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Split%20brain%20and%20ways%20to%20deal%20with%20it/.
Do you still want to continue?
 (y/n)

Actual results:

GlusterFS volume not created.

Expected results:

GlusterFS volume is created at least when force is given.

Additional info:

Breaking change which breaks tooling built around cli.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list