Bug 1021993

Summary: [RHSC] Remove-brick status is not displayed after clicking on the Status button in the remove-brick drop-down menu
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: urgent Docs Contact:
Priority: high    
Version: 2.1CC: dpati, dtsang, knarra, mmahoney, pprakash, rhs-bugs, sdharane, ssampat
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: RHGS 2.1.2Flags: rnachimu: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 07:43:23 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: 1022946    
Bug Blocks:    
Attachments:
Description Flags
engine logs
none
vdsm logs - 1
none
vdsm logs - 2
none
vdsm logs - 3
none
vdsm logs - 4 none

Description Shruti Sampat 2013-10-22 12:59:42 UTC
Created attachment 814975 [details]
engine logs

Description of problem:
-----------------------
After starting remove-brick on a volume, on clicking on Status button in the remove-brick drop-down menu in the Activities column, the status dialog does not show up.

The following error is seen in the engine logs -

2013-10-22 11:31:09,844 ERROR [org.ovirt.engine.core.bll.gluster.GetGlusterVolumeRemoveBricksStatusQuery] (ajp-/127.0.0.1:8702-6) Query GetGlusterVolumeRemoveBricksStatusQuery failed. Exception message is VdcBLLException: Command execution failed
error: Usage: volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ... {start|stop|status|commit|force}
return code: 1 (Failed with error GlusterCmdExecFailedException and code 4105)

The volume is a 3x2 distributed-replicate volume, on which rebalance and remove-brick has been run multiple times.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.0.scratch.beta1.el6_4 

How reproducible:
Intermittent

Steps to Reproduce:
1. Start remove-brick on distributed-replicate volume.
2. Click on Status button in the remove-brick menu in the Activities column.

Actual results:
Status dialog does not show up.

Expected results:
Status dialog should be displayed.

Additional info:

Comment 1 Shruti Sampat 2013-10-22 13:14:13 UTC
Created attachment 814997 [details]
vdsm logs - 1

Comment 2 Shruti Sampat 2013-10-22 13:15:58 UTC
Created attachment 814998 [details]
vdsm logs - 2

Comment 3 Shruti Sampat 2013-10-22 13:19:18 UTC
Created attachment 815000 [details]
vdsm logs - 3

Comment 4 Shruti Sampat 2013-10-22 13:20:58 UTC
Created attachment 815001 [details]
vdsm logs - 4

Comment 6 Ramesh N 2013-10-24 10:00:55 UTC
Its no longer reproducible.

Comment 7 Shruti Sampat 2013-10-28 10:14:14 UTC
Not reproducible in Red Hat Storage Console Version: 2.1.2-0.21.beta1.el6_4. Closing with resolution CURRENTRELEASE.

Comment 8 Shruti Sampat 2013-11-13 14:03:41 UTC
Hi,

I am seeing this again in Red Hat Storage Console Version: 2.1.2-0.23.master.el6_5. Re-opening the BZ.

Comment 9 Ramesh N 2013-11-14 06:21:24 UTC
The actual issue reported in CB4 was due to a VDSM exception. It got fixed in CB5 already. Please attach latest Logs to analyze the issue further.

Comment 10 Ramesh N 2013-11-14 06:37:19 UTC
Its the same as the issue reported in bug 1022946. Both rebalance and remove-brick status are using the same status dialog in UI.

Comment 11 Shruti Sampat 2013-11-19 09:48:14 UTC
Verified as fixed in Red Hat Storage Console Version: 2.1.2-0.24.master.el6_5. Status dialog now appears correctly and displays the status.

Comment 12 Ramesh N 2014-01-03 11:55:08 UTC
New feature hence no doc text required

Comment 14 errata-xmlrpc 2014-02-25 07:43:23 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