Bug 1036564

Summary: [Gluster-cli] Glusterfs rebalance xml output is null although gluster rebalance status returns rebalance status.
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: cliAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: pre-releaseCC: anbabu, dpati, gluster-bugs, kaushal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1028325 Environment:
Last Closed: 2014-04-17 11:51:36 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: 1028325    
Bug Blocks: 1015045, 1015394, 1027675, 1033035    

Comment 1 Anand Avati 2013-12-02 09:57:40 UTC
REVIEW: http://review.gluster.org/6391 (cli: xml: Rebalance status(xml) was empty when a glusterd down) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 2 Anand Avati 2013-12-03 05:47:56 UTC
COMMIT: http://review.gluster.org/6391 committed in master by Vijay Bellur (vbellur) 
------
commit 0e5837a4495028e56c75e95a694a0d6123623eb2
Author: Aravinda VK <avishwan>
Date:   Mon Dec 2 15:19:17 2013 +0530

    cli: xml: Rebalance status(xml) was empty when a glusterd down
    
    When a glusterd is down in cluster rebalance/remove-brick status
    --xml will fail to get status and returns null.
    
    This patch skips collecting status if glusterd is down, and
    collects status from all the other up nodes.
    
    Change-Id: I6df0feef41b5cc817cc8d7820ee2acac95176a98
    BUG: 1036564
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/6391
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Anand Avati 2014-01-29 06:17:05 UTC
REVIEW: http://review.gluster.org/6848 (cli: xml: Rebalance status(xml) was empty when a glusterd down) posted (#1) for review on release-3.5 by Aravinda VK (avishwan)

Comment 4 Anand Avati 2014-01-30 07:16:42 UTC
REVIEW: http://review.gluster.org/6848 (cli: xml: Rebalance status(xml) was empty when a glusterd down) posted (#2) for review on release-3.5 by Aravinda VK (avishwan)

Comment 5 Anand Avati 2014-02-06 09:40:43 UTC
COMMIT: http://review.gluster.org/6848 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit cfaab6bcce48fcd369d9c8d66be4413d1d0b8356
Author: Aravinda VK <avishwan>
Date:   Mon Dec 2 15:19:17 2013 +0530

    cli: xml: Rebalance status(xml) was empty when a glusterd down
    
    When a glusterd is down in cluster rebalance/remove-brick status
    --xml will fail to get status and returns null.
    
    This patch skips collecting status if glusterd is down, and
    collects status from all the other up nodes.
    
    BUG: 1036564
    Change-Id: Id8fbb63476e136296231d6652a8bd1a4547edbf5
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/6391
    Reviewed-on: http://review.gluster.org/6848
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>

Comment 6 Niels de Vos 2014-04-17 11:51:36 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.5.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user