Bug 867700 - GUI removes brick from a volume when volume is in stopped state, without displaying message that says "volume needs to be started"
Summary: GUI removes brick from a volume when volume is in stopped state, without disp...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Shireesh
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 06:38 UTC by Shruti Sampat
Modified: 2013-07-03 06:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-29 11:14:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Shruti Sampat 2012-10-18 06:38:09 UTC
Description of problem:
---------------------------------------
When trying to remove a brick from a gluster volume through the gluster CLI, when the volume is in 'stopped' state, using the command - 

gluster volume remove-brick <vol-name> <brick> start

the following message is seen - 

"Volume <vol-name> needs to be started before remove-brick (you can use 'force' or 'commit' to override this behavior)" 

When trying to remove a brick from the GUI when the volume is in the 'stopped' state, the operation succeeds without a similar message.


Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.0.techpreview1-3.el6rhs 

How reproducible:
Always

Steps to Reproduce:
1.Create a gluster volume from the GUI.
2.Select the created volume and click on the sub-tab 'Bricks'. 
3.Select the bricks to be removed and click on 'Remove Bricks'.
4.When asked for confirmation, click on 'yes'.
  
Actual results:
The brick that was selected for removal was successfully removed without displaying any message saying the volume needs to be started.

Expected results:
An appropriate message, like the one displayed by the CLI should be displayed.

Additional info:

Comment 2 Shireesh 2012-10-29 11:14:17 UTC
remove-brick with 'start' option is an asynchronous task, which is currently not supported by the console. We use the synchronous mode using the 'force' option by default.

Work to support asynchronous tasks is in progress, and is tracked through https://bugzilla.redhat.com/show_bug.cgi?id=850422

When we start supporting async tasks, it will include remove-brick as well.

So I'm closing this bug.


Note You need to log in before you can comment on or make changes to this bug.