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:
taking out of blocker and marking it for rhs-future
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.
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
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>.
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.
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>
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.