Bug 781285 - [faf9099bb50d4d2c1a9fe8d3232d541b3f68bc58] improve replace-brick cli outputs.
Summary: [faf9099bb50d4d2c1a9fe8d3232d541b3f68bc58] improve replace-brick cli outputs.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.3-beta
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-13 07:45 UTC by Rahul C S
Modified: 2013-12-19 00:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-24 07:06:28 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rahul C S 2012-01-13 07:45:03 UTC
Description of problem:

Replace-brick has not been started. Any operation done using replace-brick does not report that replace-brick has been started.

root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 
Usage: volume replace-brick <VOLNAME> <BRICK> <NEW-BRICK> {start|pause|abort|status|commit [force]}

root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 commit
replace-brick commit failed

root@Dagobah:~# gluster volume info backup
 
Volume Name: backup
Type: Distribute
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: dagobah:/tmp/brick
Brick2: dagobah:/tmp/brick1

root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 abort
replace-brick abort failed

root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 pause
replace-brick pause failed

root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 commit force
incorrect source or destination brick
(This error message does not make sense as to why commit force has failed.)

root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 start
replace-brick started successfully


Only 
root@Dagobah:~# gluster volume replace-brick backup dagobah:/tmp/brick dagobah:/tmp/brick2 status
shows proper message saying that replace-brick is not started.

Comment 2 Amar Tumballi 2013-10-24 07:06:28 UTC
planning to remove replace-brick... (http://review.gluster.org/6031) and hence marking the bug as WONTFIX


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