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

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 18 13:16:10 UTC 2019


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

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



+++ This bug was initially created as a clone of Bug #1773518 +++

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

--- Additional comment from Worker Ant on 2019-11-18 10:44:21 UTC ---

REVIEW: https://review.gluster.org/23718 (Exclude arbiter bricks from
replicaCount in \"volume info --xml\" output) posted (#1) for review on master
by Omar Kohl

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