Bug 1040973

Summary: No event message gets generated when remove-brick is stopped from CLI
Product: Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhscAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: dpati, dtsang, grajaiya, mmahoney, pprakash, rhs-bugs, 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:08:40 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:

Description RamaKasturi 2013-12-12 12:54:01 UTC
Description of problem:
An event message should be displayed in UI , when remove-brick is stopped from cli.

Version-Release number of selected component (if applicable):
rhsc-2.1.2-0.27.beta.el6_5.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a distribute volume and start it.
2. start remove-brick on the volume.
3. Now go to gluster cli and stop remove-brick by using the command "gluster vol remove-brick <volname> <brickpath> stop"

Actual results:
There is no event message generated when remove-brick is stopped from CLI.

Expected results:
An event message should be generated in UI when remove-brick is stopped from CLI.

Additional info:

Comment 2 Dustin Tsang 2013-12-17 18:35:14 UTC
An event was not generated when the remove brick operation was stopped in rhsc. Instead of a message notifying the user that remove brick was stopped from the gluster cli, rhsc notifies the user that it could not find information for the task.

----- last events on rhsc-----
2013-Dec-17, 10:29
Could not find information for remove brick on volume something of Cluster Default from CLI. Marking it as unknown.

2013-Dec-17, 10:29
Started removing bricks from Volume something
------------------------------

Comment 3 Sahina Bose 2013-12-18 02:12:18 UTC
Dustin, this is expected behaviour.

When an event is stopped from CLI, gluster no longer holds the task information and the engine cannot determine the state of the task. - That's completed and forgotten or stopped. Hence this error message.

Moving it back

Comment 4 Gowrishankar Rajaiyan 2013-12-18 08:24:18 UTC
Please set the priority.

Comment 5 RamaKasturi 2013-12-18 12:45:44 UTC
verified in cb12 rhsc-2.1.2-0.28.beta.el6_5.noarch.

Now when stopping a remove-brick from cli, the following message appears.

Could not find information for remove brick on volume vol_dis of Cluster cluster_async from CLI. Marking it as unknown.

Comment 7 errata-xmlrpc 2014-02-25 08:08:40 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