Red Hat Bugzilla – Bug 1027743
[Remove-brick] : Committing a brick from CLI does not remove the remove brick icon from the volume activities table.
Last modified: 2015-05-13 12:33:48 EDT
Created attachment 821018 [details]
Attaching screen shot
Description of problem:
Committing a brick from CLI does not remove the remove brick icon from the volume activities table.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a distribute volume with single node cluster.
2. Select one brick and click on remove in the bricks sub tab.
3. Once data migration is over , go to the node and run the following command "
gluster volume remove-brick <volName> <brickName> commit"
It removes the brick and the brick row from the bricks subtab, but does not remove the remove-brick icon from the volume activities column.
it should remove the remove-brick icon from the volume activities column.
Link to the sos reports
Considering it's not able to remove the icon from volume table, it's low to medium priority. From Brick table it's removing the brick row anyway...
So, severity should be medium to low.
Remove brick status dialog hangs when clicked on status button from the drop down.
Task pane does not get updated. It just hangs.
Icon in the activities column disappears, but the drop down menu arrow still remains,which is meaningless without the icon.
Tasks pane shows the status of the task as migration complete with a question mark. Attaching the screenshot for the same.
Along with icon the menu should also disappear and the task status should be completed. Moving back to assigned.
Created attachment 832039 [details]
Attaching the screenshot after the fix
Seeing behavior similar to what is explained in Comment #6 when, a server is added to the cluster while remove-brick is in progress.
Created attachment 833025 [details]
Moving this bug to Failed_QA because of this bug.
As bug referenced in Comment 10 is ON_QA, moving this as well
Now, when we commit remove-brick from cli, the task status gets updated to unknown. Because of this the remove brick icon is replaced by '?' icon.
Currently , the behavior for the '?' icon to appear in the volume activities column after a brick has been committed takes around 45-50 seconds.
please let me know if this is the expected result?
yes, this is the expected behaviour. The '?' icon will appear within 1 min (when the syncing happens).
Verified in cb12 rhsc-2.1.2-0.28.beta.el6_5.noarch . The following happens:
when a brick is comitted from cli, brick row disappears from the bricks sub tab and icon in the volume activities column remain unchanged to Migration completed and commit pending, till the sync happens.
Currently , for the '?' icon to appear in the volume activities column after a brick has been committed takes around 45-50 seconds.
Created attachment 838765 [details]
Attaching the screenshot
doc_text not need as it is an intermediate build issue.
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.