Bug 1061677

Summary: [RHSC] - Rebalance button gets enabled after data migration is completed and clicking on it results in disappearing of the icon from activities column.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED WONTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 2.1CC: asriram, dpati, kmayilsa, mmahoney, mmccune, nlevinki, nsathyan, rhs-bugs, sabose, ssampat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
When Red Hat Storage Console detects a remove-brick operation which is started from gluster CLI, engine does not acquire lock on the volume and 'Rebalance' task is allowed. Workaround: Perform 'commit' or 'stop' on 'Remove-brick' operation before starting Rebalance.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-28 07:22:54 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: 1035040    

Description RamaKasturi 2014-02-05 12:00:55 UTC
Description of problem:
start remove-brick operation on a volume and wait till data migration is completed, once data migration is completed, rebalance button gets enabled and clicking on that results in the icon being disappeared from the activities column.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. create a distribute volume and start remove brick.
2. once data migration is completed, Rebalance button gets enabled.
3. Click on rebalance.
4. 

Actual results:
1. Now engine tries to start rebalance and it fails.
2. Task in the task pane remains in the waiting for pending /commit state.
3. Remove brick icon gets disappeared from the activities column.
4. Rebalance button is enabled.


Expected results:
1. Rebalance button should not be enabled while remove brick operation is in commit pending state.

Additional info:

Comment 1 RamaKasturi 2014-02-05 12:08:13 UTC
Attaching the rhsc-log-collector for the same.

http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1061677/

Comment 2 RamaKasturi 2014-02-06 09:56:34 UTC
Steps to reproduce:

1. create a distribute volume and start remove brick from CLI by using the command "gluster volume remove-brick <volName> <brickName> start".
2. once data migration is completed, Rebalance button gets enabled.
3. Click on rebalance from UI.

Actual results:
1. Now engine tries to start rebalance and it fails.
2. Task in the task pane remains in the waiting for pending /commit state.
3. Remove brick icon gets disappeared from the activities column.
4. Rebalance button is enabled.


Expected results:
1. Rebalance button should not be enabled while remove brick operation is in commit pending state.

Comment 4 Kanagaraj 2014-02-11 12:06:29 UTC
doc_text looks good

Comment 5 Sahina Bose 2015-03-26 17:19:59 UTC
Moving out of 3.1.0 as decided in the triage meeting on 26th Mar 15

Comment 7 Dusmant 2015-12-28 07:22:54 UTC
RHSC 2.1 is EOLed and we don't have any plan to fix this issue.
If you think, this is an important bug to be addressed, pls. re-open it on the latest release. 
I will go ahead and "CLOSE" this bug for this release.