Bug 788524

Summary: [aec6d5d89249868dc99d8fb432d8ab120bb38ef1]: remove-brick abort does not give proper output.
Product: [Community] GlusterFS Reporter: Rahul C S <rahulcs>
Component: cliAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: amarts, gluster-bugs, nsathyan, rfortier, sgowda, shmohan, vbellur
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 18:02:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: 3.3.0qa34 Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 817967    

Description Rahul C S 2012-02-08 11:20:34 UTC
Description of problem:
root@Dagobah:~# gluster volume remove-brick temp dagobah:/tmp/b1/ dagobah:/tmp/b2/ status
remove-brick in progress
root@Dagobah:~# gluster volume remove-brick temp dagobah:/tmp/b1/ dagobah:/tmp/b2/ abort
Remove Brick unsuccessful
Ideally it should say, aborted successfully or remove-brick operation aborted.

root@Dagobah:~# echo $?
255
If the command has succeeded in aborting then it should give proper exit status.

root@Dagobah:~# gluster volume remove-brick temp dagobah:/tmp/b1/ dagobah:/tmp/b2/ status
remove-brick stopped

Comment 1 Anand Avati 2012-04-06 10:38:55 UTC
CHANGE: http://review.gluster.com/3082 (remove-brick: Abort should revert volume changes) merged in master by Vijay Bellur (vijay)

Comment 3 shylesh 2012-04-11 11:53:16 UTC
Abort command is no more supported.so closing the bug.

Comment 4 shylesh 2012-04-11 12:28:46 UTC
Now aborting a remove-brick displays the message "Remove Brick abort successful
" and volfile will be reverted back