[Bugs] [Bug 1325831] New: gluster snap status xml output shows incorrect details when the snapshots are in deactivated state

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 11 10:34:06 UTC 2016


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

            Bug ID: 1325831
           Summary: gluster snap status xml output shows incorrect details
                    when the snapshots are in deactivated state
           Product: GlusterFS
           Version: mainline
         Component: snapshot
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: asengupt at redhat.com
                CC: aloganat at redhat.com, bugs at gluster.org,
                    storage-qa-internal at redhat.com
        Depends On: 1325821



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

Description of problem:
gluster snap status xml output shows incorrect details when the snapshots are
in deactivated state

Version-Release number of selected component (if applicable):
glusterfs-server-3.7.9-1.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a snapshot
2. Run "gluster snap status --xml"

Actual results:
gluster snap status xml output shows incorrect details

Expected results:
gluster snap status xml output should show correct information

Additional info:

CLI Output:

[root at node94 ~]# gluster snap status snap1

Snap Name : snap1
Snap UUID : a322d93a-2732-447d-ab88-b943fa402fd2

    Brick Path        :  
10.70.47.11:/run/gluster/snaps/2c790e6132e447e79168d9708d4abfe7/brick1/testvol_brick0
    Volume Group      :   RHS_vg0
    Brick Running     :   No
    Brick PID         :   N/A
    Data Percentage   :   3.52
    LV Size           :   9.95g


    Brick Path        :  
10.70.47.16:/run/gluster/snaps/2c790e6132e447e79168d9708d4abfe7/brick2/testvol_brick1
    Volume Group      :   RHS_vg0
    Brick Running     :   No
    Brick PID         :   N/A
    Data Percentage   :   3.52
    LV Size           :   9.95g


    Brick Path        :  
10.70.47.152:/run/gluster/snaps/2c790e6132e447e79168d9708d4abfe7/brick3/testvol_brick2
    Volume Group      :   RHS_vg0
    Brick Running     :   No
    Brick PID         :   N/A
    Data Percentage   :   3.51
    LV Size           :   9.95g


    Brick Path        :  
10.70.46.52:/run/gluster/snaps/2c790e6132e447e79168d9708d4abfe7/brick4/testvol_brick3
    Volume Group      :   RHS_vg0
    Brick Running     :   No
    Brick PID         :   N/A
    Data Percentage   :   3.54
    LV Size           :   9.95g

Xml Output:

[root at node94 ~]# gluster snap status --xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <snapStatus>
    <snapshots>
      <snapshot>
        <name>snap1</name>
        <uuid>a322d93a-2732-447d-ab88-b943fa402fd2</uuid>
        <volCount>1</volCount>
        <volume>
          <brickCount>4</brickCount>
          <brick>
           
<path>10.70.47.11:/run/gluster/snaps/2c790e6132e447e79168d9708d4abfe7/brick1/testvol_brick0</path>
            <volumeGroup>RHS_vg0</volumeGroup>
          </brick>
        </volume>
      </snapshot>
    </snapshots>
  </snapStatus>
</cliOutput>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1325821
[Bug 1325821] gluster snap status xml output shows incorrect details when
the snapshots are in deactivated state
-- 
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