Bug 1035146

Summary: [RHSC] 'Could not fetch remove brick status of volume' message lists all the bricks of the volume
Product: Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: dpati, dtsang, knarra, mmahoney, pprakash, rhs-bugs, sdharane
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 08:06:20 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:
Attachments:
Description Flags
screenshot none

Description Shruti Sampat 2013-11-27 07:31:04 UTC
Created attachment 829592 [details]
screenshot

Description of problem:
-----------------------
When glusterd is not running on one or more servers in a cluster, with a volume undergoing remove-brick operation, the remove-brick status dialog shows the following message - 

Could not fetch remove brick status of volume : [10.70.37.64:/rhs/brick4/b2, 10.70.37.176:/rhs/brick4/b2, 10.70.37.84:/rhs/brick5/b2, 10.70.37.132:/rhs/brick5/b2]

The volume name is absent from the message. The bricks being removed are 10.70.37.84:/rhs/brick5/b2, 10.70.37.132:/rhs/brick5/b2. Only these should be listed in the message and not all bricks.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.25.master.el6_5 

How reproducible:
Always

Steps to Reproduce:
1. Start remove brick operation on a volume
2. Stop glusterd on one of the nodes in the cluster.
3. Open remove-brick status dialog

Actual results:
The dialog shows the above message, with volume name absent, and all bricks listed.

Expected results:
The message should mention the volume name and only those bricks that are being removed, should be listed.

Additional info:

Comment 2 Shruti Sampat 2013-12-19 10:05:26 UTC
Verified by performing the following steps - 

1. Start remove-brick on a volume.
2. Kill glusterd on the participating nodes.
3. Immediately ( before engine detects that glusterd is down ) click on the Status button in the drop-down menu beside the remove-brick icon.

A dialog appears with the message the status details could not be fetched for this volume.

Step 3 needs to be done immediately because, after engine detects that glusterd is down on the node, the status dialog shown is empty ( BZ #1044499 )

Comment 3 Ramesh N 2014-01-03 07:16:01 UTC
Doc Text is not required  as its a new feature and we already have an RFE

Comment 5 errata-xmlrpc 2014-02-25 08:06:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html