[Bugs] [Bug 1773518] New: replicaCount value differs for "volume info" and "volume info --xml"

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 18 10:36:46 UTC 2019


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

            Bug ID: 1773518
           Summary: replicaCount value differs for "volume info" and
                    "volume info --xml"
           Product: GlusterFS
           Version: 7
            Status: NEW
         Component: cli
          Assignee: bugs at gluster.org
          Reporter: omar.kohl at iternity.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:

The "gluster volume info VOLNAME --xml" differs from the "gluster volume info
VOLNAME" output where the replicaCount is concerned. In the first case
replicaCount includes the arbiter bricks whereas in the second case it does
not.

The correct behaviour should be to exclude the arbiter bricks from replicaCount
because that is the way it is done with "gluster volume create" as well.


XML Output:

<brickCount>3</brickCount>
<distCount>3</distCount>
<stripeCount>1</stripeCount>
<replicaCount>3</replicaCount>
<arbiterCount>1</arbiterCount>


regular output:

Number of Bricks: 1 x (2 + 1) = 3

-- 
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