[Bugs] [Bug 1212398] New: [New] - Distribute replicate volume type is shown as Distribute Stripe in the output of gluster volume info <volname> --xml

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 16 10:34:22 UTC 2015


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

            Bug ID: 1212398
           Summary: [New] - Distribute replicate volume type is shown as
                    Distribute Stripe in  the output of gluster volume
                    info <volname> --xml
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Assignee: bugs at gluster.org
          Reporter: knarra at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
When user creates a distribute replicate volume in the "gluster vol info
<vol_name> --xml it is shown as distribute stripe.

Pasting the output here:

gluster vol info vol_dis_rep --xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <volInfo>
    <volumes>
      <volume>
        <name>vol_dis_rep</name>
        <id>15b7e3bf-116f-4d24-8589-274cfde92ea5</id>
        <status>0</status>
        <statusStr>Created</statusStr>
        <brickCount>4</brickCount>
        <distCount>2</distCount>
        <stripeCount>1</stripeCount>
        <replicaCount>2</replicaCount>
        <disperseCount>0</disperseCount>
        <redundancyCount>0</redundancyCount>
        <type>6</type>
        <typeStr>Distributed-Stripe</typeStr>
        <transport>0</transport>
        <xlators/>
        <bricks>
          <brick
uuid="83c52dea-d22d-44e3-adf2-9cfecbcd45c2">10.70.37.199:/rhs/brick3/b1<name>10.70.37.199:/rhs/brick3/b1</name><hostUuid>83c52dea-d22d-44e3-adf2-9cfecbcd45c2</hostUuid></brick>
          <brick
uuid="df227fe6-fe66-42ef-b7c7-0031a4f5deeb">10.70.37.208:/rhs/brick3/b2<name>10.70.37.208:/rhs/brick3/b2</name><hostUuid>df227fe6-fe66-42ef-b7c7-0031a4f5deeb</hostUuid></brick>
          <brick
uuid="83c52dea-d22d-44e3-adf2-9cfecbcd45c2">10.70.37.199:/rhs/brick4/b3<name>10.70.37.199:/rhs/brick4/b3</name><hostUuid>83c52dea-d22d-44e3-adf2-9cfecbcd45c2</hostUuid></brick>
          <brick
uuid="df227fe6-fe66-42ef-b7c7-0031a4f5deeb">10.70.37.208:/rhs/brick4/b4<name>10.70.37.208:/rhs/brick4/b4</name><hostUuid>df227fe6-fe66-42ef-b7c7-0031a4f5deeb</hostUuid></brick>
        </bricks>
        <optCount>3</optCount>
        <options>
          <option>
            <name>auth.allow</name>
            <value>*</value>
          </option>
          <option>
            <name>user.cifs</name>
            <value>enable</value>
          </option>
          <option>
            <name>nfs.disable</name>
            <value>off</value>
          </option>
        </options>
      </volume>
      <count>1</count>
    </volumes>
  </volInfo>
</cliOutput>


Version-Release number of selected component (if applicable):
glusterfs-3.7dev-0.994.gitf522001.el6.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Create a volume of distribute replicate.
2. check the xml ouput of gluster vol info.
3.

Actual results:
gluster vol info xml output shows the volume type as "distribute stripe"

Expected results:
volume type should be displayed correctly.

Additional info:

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