Bug 1318505

Summary: gluster volume status xml output of tiered volume has all the common services tagged under <coldBricks>
Product: [Community] GlusterFS Reporter: hari gowtham <hgowtham>
Component: tieringAssignee: hari gowtham <hgowtham>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.7.9CC: aloganat, bugs, dlambrig, hgowtham, nchilaka, rhs-bugs, rkavunga
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1294497 Environment:
Last Closed: 2016-04-19 07:00:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1272318, 1278394, 1294497    
Bug Blocks:    

Comment 1 Vijay Bellur 2016-03-17 05:59:49 UTC
REVIEW: http://review.gluster.org/13757 (Cli/tier: separating services from cold bricks in xml) posted (#1) for review on release-3.7 by hari gowtham (hari.gowtham005)

Comment 2 Vijay Bellur 2016-03-22 09:06:04 UTC
COMMIT: http://review.gluster.org/13757 committed in release-3.7 by Dan Lambright (dlambrig) 
------
commit 35c401430a964f62d7e13db5d2294e43b2bba36a
Author: hari <hgowtham>
Date:   Mon Dec 28 16:04:50 2015 +0530

    Cli/tier: separating services from cold bricks in xml
    
            back-port of : http://review.gluster.org/#/c/13101/
    
    fix: The cold bricks tag included the processes also.
    The patch has removed the processes from being mentioned
    inside the cold brick tag and are mentioned below by
    closing the cold brick tag after the brick count.
    
    Previous output:
            <coldBricks>
              <node>
                <hostname>192.168.1.102</hostname>
                <path>/data/gluster/b3</path>
                <peerid>8c088528-e1aee3b2b40f</peerid>
                <status>1</status>
                <port>49157</port>
                <ports>
                  <tcp>49157</tcp>
                  <rdma>N/A</rdma>
                </ports>
                <pid>1160</pid>
              </node>
              <node>
                <hostname>NFS Server</hostname>
                <path>localhost</path>
                <peerid>8c088528-e1aee3b2b40f</peerid>
                <status>0</status>
                <port>N/A</port>
                <ports>
                  <tcp>N/A</tcp>
                  <rdma>N/A</rdma>
                </ports>
                <pid>-1</pid>
              </node>
            </coldBricks>
    
    Expected output:
            <coldBricks>
              <node>
                <hostname>192.168.1.102</hostname>
                <path>/data/gluster/b3</path>
                <peerid>8c088528-e1aee3b2b40f</peerid>
                <status>1</status>
                <port>49157</port>
                <ports>
                  <tcp>49157</tcp>
                  <rdma>N/A</rdma>
                </ports>
                <pid>1160</pid>
              </node>
            </coldBricks>
            <node>
              <hostname>NFS Server</hostname>
              <path>localhost</path>
              <peerid>8c088528-e1aee3b2b40f</peerid>
              <status>0</status>
              <port>N/A</port>
              <ports>
                <tcp>N/A</tcp>
                <rdma>N/A</rdma>
              </ports>
              <pid>-1</pid>
            </node>
    
    >Change-Id: Ieccd017d7b2edb16786323f1a76402f020bdfb0d
    >BUG: 1294497
    >Signed-off-by: hari <hgowtham>
    >Reviewed-on: http://review.gluster.org/13101
    >Smoke: Gluster Build System <jenkins.com>
    >Tested-by: hari gowtham <hari.gowtham005>
    >NetBSD-regression: NetBSD Build System <jenkins.org>
    >CentOS-regression: Gluster Build System <jenkins.com>
    >Reviewed-by: Dan Lambright <dlambrig>
    
    Change-Id: Ia207b4f8140c7a449ca3e3e2c90e5f69dac88d57
    BUG: 1318505
    Signed-off-by: hari <hgowtham>
    Reviewed-on: http://review.gluster.org/13757
    Smoke: Gluster Build System <jenkins.com>
    Tested-by: hari gowtham <hari.gowtham005>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Dan Lambright <dlambrig>

Comment 3 Kaushal 2016-04-19 07:00:16 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.10, please open a new bug report.

glusterfs-3.7.10 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-users/2016-April/026164.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user