Bug 764005 (GLUSTER-2273)

Summary: replace-brick help does not show commit option
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: distributeAssignee: Gaurav <ggangalw>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.1CC: amarts, eco, gluster-bugs, lakshmipathi, vijay, vikas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Saurabh 2011-01-05 11:03:59 UTC
I am not finding the 'commit' option in cli help for replace-brick,
though the commit command works

gluster> volume help
volume info [all|<VOLNAME>] - list information of all volumes
volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma>] <NEW-BRICK> ... - create a new volume of specified type with mentioned bricks
volume delete <VOLNAME> - delete volume specified by <VOLNAME>
volume start <VOLNAME> [force] - start volume specified by <VOLNAME>
volume stop <VOLNAME> [force] - stop volume specified by <VOLNAME>
volume add-brick <VOLNAME> <NEW-BRICK> ... - add brick to volume <VOLNAME>
volume remove-brick <VOLNAME> <BRICK> ... - remove brick from volume <VOLNAME>
volume rebalance <VOLNAME> {start|stop|status} - rebalance operations
volume replace-brick <VOLNAME> <BRICK> <NEW-BRICK> {start|pause|abort|status} - replace-brick operations
volume set <VOLNAME> <KEY> <VALUE> - set options for volume <VOLNAME>
volume help - display help for the volume command
volume log filename <VOLNAME> [BRICK] <PATH> - set the log file for corresponding volume/brick
volume log locate <VOLNAME> [BRICK] - locate the log file for corresponding volume/brick
volume log rotate <VOLNAME> [BRICK] - rotate the log file for corresponding volume/brick
volume sync <HOSTNAME> [all|<VOLNAME>] - sync the volume information from a peer
volume reset <VOLNAME>  - reset all the reconfigured options
gluster> volume replace-brick
Usage: volume replace-brick <VOLNAME> <BRICK> <NEW-BRICK> {start|pause|abort|status}

Comment 1 Anand Avati 2011-01-27 17:17:42 UTC
PATCH: http://patches.gluster.com/patch/5983 in master (cli: Show 'commit' option in replace-brick.)

Comment 2 Gaurav 2011-02-04 02:14:24 UTC
*** Bug 2367 has been marked as a duplicate of this bug. ***

Comment 3 Eco 2011-02-21 15:18:31 UTC
Was this fixed in 3.1.2?

[root@gfs311-02 ~]# gluster -V
glusterfs 3.1.2 built on Jan 18 2011 16:28:02
Repository revision: v3.1.1-64-gf2a067c
Copyright (c) 2006-2010 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU Affero General Public License.
[root@gfs311-02 ~]# gluster volume replace-brick help
Usage: volume replace-brick <VOLNAME> <BRICK> <NEW-BRICK> {start|pause|abort|status}

Comment 4 Lakshmipathi G 2011-02-28 08:31:51 UTC
checking with commit-id "26cedae57d5b7cb8d50ed077ce29c92e30d6e260" from git.repo. replace-brick now shows commit option.

# /opt/glusterfs/laks/glfs.git/sbin/gluster volume replace-brick help
Usage: volume replace-brick <VOLNAME> <BRICK> <NEW-BRICK> {start|pause|abort|status|commit}