Bug 1101181

Summary: [RHSC] provide a way for the user to check the status of remove-brick and rebalance when it is stopped .
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: anmol babu <anbabu>
Status: CLOSED WONTFIX QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: dpati, ecohen, esammons, kmayilsa, nlevinki, rhs-bugs, rhsc-qe-bugs, sabose, sasundar, ssampat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: With latest RHS, Rebalance/Remove-brick status cannot be retrieved once the operation is stopped Consequence: After stopping the rebalance/remove-brick operation from RHSC GUI, clicking on rebalance/remove-brick status button throws "Unable to fetch data" error Workaround (if any): Nil Result: Rebalance/Remove-brick status cannot be viewed once the operation is stopped by the user.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-21 10:35:51 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:    
Bug Blocks: 1087818    

Description RamaKasturi 2014-05-26 11:10:19 UTC
Description of problem:
status button for rebalance and remove-brick needs to be disabled, because of the following bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1089668

Version-Release number of selected component (if applicable):
rhsc-3.0.0-0.5.master.el6_5.noarch
glusterfs-server-3.6.0.4-1.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start rebalance or remove-brick on a volume.
2. Now stop rebalance and remove-brick.
3. Click on the status dialog from the drop down of icon in the activities column.

Actual results:
When clicked on status button, it says that "Unable to fetch data".

Expected results:
status button should be disabled.

Additional info:

Comment 2 Dusmant 2014-05-30 06:37:40 UTC
taking out of blocker and marking it for rhs-future

Comment 4 RamaKasturi 2014-06-18 12:30:23 UTC
This bug has been introduced in RHSC because of the bug fix https://bugzilla.redhat.com/show_bug.cgi?id=1089668.

status button should not be disabled when remove-brick or rebalance is stopped because there might be some files still in migration.

Instead, RHSC UI should be able to provide a way to the user, to check for status when remove-brick or rebalance is stopped.

Comment 5 RamaKasturi 2014-06-18 12:34:24 UTC
There is bug logged in glusterfs, to provide a way for the user to check the status of remove-brick and rebalance when it is stopped, but there are still some files which needs to be migrated.

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

Comment 6 RamaKasturi 2014-09-19 09:33:05 UTC
when user stops rebalance / remove-brick while it is in progress or once the migration is done, status dialog returns 'Could not fetch rebalance status of volume : <vol_name>.

Comment 7 Shruti Sampat 2014-09-19 13:31:39 UTC
When stop remove-brick action is performed from the remove-brick status dialog, a dialog box appears over the status dialog asking for confirmation about the stop remove-brick action. If the user confirms, this dialog is replaced by another on that says "Could not fetch status". Once this is closed, the 'Stop' button on the status dialog is still clickable, but clicking on it does not result in anything.

Comment 8 RamaKasturi 2014-09-19 14:58:30 UTC
When stop rebalance action is performed from the rebalance status dialog, a dialog box appears over the status dialog asking for the confirmation about the stop rebalance action. If the user confirms, another dialog appears called 'Rebalance Status' which says "could not fetch rebalance status of volume : <vol_Name>. Once this is closed, 'Stop Rebalance' button on the dialog is still clickable, clicking on it gives stop rebalance confirmation dialog and clicking on 'ok' says  "Error while executing action: cannot stop rebalance Gluster Volume. Rebalance is not running on the volume <vol_name> in cluster <cluster_name>

Comment 10 RHEL Program Management 2015-04-21 10:35:51 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.