Bug 1027743

Summary: [Remove-brick] : Committing a brick from CLI does not remove the remove brick icon from the volume activities table.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: Darshan <dnarayan>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: medium    
Version: 2.1CC: dpati, dtsang, mmahoney, pprakash, rhs-bugs, sabose, ssampat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 08:01:50 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:
Attachments:
Description Flags
Attaching screen shot
none
Attaching the screenshot after the fix
none
engine logs
none
Attaching the screenshot none

Description RamaKasturi 2013-11-07 11:16:15 UTC
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):

rhsc-2.1.2-0.22.master.el6_4.noarch
How reproducible:
Always

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"

Actual results:
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.

Expected results:
it should remove the remove-brick icon from the volume activities column.

Additional info:

Comment 1 RamaKasturi 2013-11-07 11:22:14 UTC
Link to the sos reports

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

Comment 3 Dusmant 2013-11-09 10:14:27 UTC
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.

Comment 4 RamaKasturi 2013-11-12 12:34:05 UTC
Remove brick status dialog hangs when clicked on status button from the drop down.

Comment 5 RamaKasturi 2013-11-27 07:06:27 UTC
Task pane does not get updated. It just hangs.

Comment 6 RamaKasturi 2013-12-03 12:56:12 UTC
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.

Comment 7 RamaKasturi 2013-12-03 12:56:55 UTC
Created attachment 832039 [details]
Attaching the screenshot after the fix

Comment 8 Shruti Sampat 2013-12-05 06:32:51 UTC
Seeing behavior similar to what is explained in Comment #6 when, a server is added to the cluster while remove-brick is in progress.

Comment 9 Shruti Sampat 2013-12-05 06:35:30 UTC
Created attachment 833025 [details]
engine logs

Comment 10 RamaKasturi 2013-12-13 11:25:45 UTC
Moving this bug to Failed_QA because of this bug.

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

Comment 11 Sahina Bose 2013-12-17 16:22:06 UTC
As bug referenced in Comment 10 is ON_QA, moving this as well

Comment 12 Darshan 2013-12-18 08:39:02 UTC
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.

Comment 13 RamaKasturi 2013-12-18 12:03:46 UTC
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?

Comment 14 Darshan 2013-12-18 12:08:02 UTC
yes, this is the expected behaviour. The '?' icon will appear within 1 min (when the syncing happens).

Comment 15 RamaKasturi 2013-12-18 16:43:04 UTC
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.

Comment 16 RamaKasturi 2013-12-19 05:26:21 UTC
Created attachment 838765 [details]
Attaching the screenshot

Comment 17 Darshan 2014-01-03 08:54:15 UTC
doc_text not need as it is an intermediate build issue.

Comment 19 errata-xmlrpc 2014-02-25 08:01:50 UTC
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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html