Red Hat Bugzilla – Bug 1022955
[RHSC] - Rebalance and remove brick buttons should be disabled until the data migration is in progress, after rebalance or remove-brick is stopped.
Last modified: 2016-02-17 19:15:06 EST
Description of problem:
After rebalance is stopped, if a file is still in migration, rebalance button should not be enabled
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a volume and start rebalance on the volume.
2. Once rebalance is started, click on the status button.
3. Now click on stop rebalance from the rebalance status dialog.
After rebalance is stopped,When a file is still in migration,rebalance button gets enabled.
After rebalance is stopped,rebalance button should not be enabled until the file is completely migrated.
once rebalance is stopped, status dialog also stops refreshing.
This issue should be documented. Currently there is no solution for this, till GLusterFS gives the status as "Aborting" till the last file migration is completed. Once it's done, it should show as "Aborted".
Steps to reproduce:
1) create a distribute volume and start it.
2) start rebalance on the volume and stop it.
3) Immediately after stop, try starting rebalance again.
It gives an error saying "colud not start gluster volume <volName> rebalance" . This happens because, once rebalance stop command is issued, rebalance runs till the file under migration is completely done.
User should not be able to start rebalance / rebalance should stop immediately once stop command is issued.
Please review the edited DocText and signoff.
We are not planning to fix it. Hence closing this BZ. If you think, it's applicable for 3.x release and would have an impact on customer, pls. open up a new BZ with the appropriate version. Thanks, -Dusmant