Bug 1254978 - gdeploy: remove-brick failures
Summary: gdeploy: remove-brick failures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nandaja Varma
QA Contact: Anush Shetty
URL:
Whiteboard:
Depends On:
Blocks: 1251815
TreeView+ depends on / blocked
 
Reported: 2015-08-19 11:23 UTC by Anush Shetty
Modified: 2016-09-17 14:41 UTC (History)
6 users (show)

Fixed In Version: gdeploy-1.0-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-05 12:22:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Anush Shetty 2015-08-19 11:23:55 UTC
Description of problem: With gdeploy-1.1, remove-brick operations fail consistently. 


Version-Release number of selected component (if applicable): 1.1 


How reproducible: Always


Steps to Reproduce:
1. Install gdeploy (http://file.india.redhat.com/surs/gdeploy/gdeploy-1-1.noarch.rpm)
2. Edit the config file to run remove-brick operations
3. Run gdeploy: gdeploy -k -c /opt/gluster.conf

Actual results:

# gdeploy -k -c /opt/gluster.conf
INFO: Volume management(action: remove-brick) triggered

Warning: Using mountpoint itself as the brick in one or more hosts since force is specified, although not recommended.


PLAY [master] ***************************************************************** 

TASK: [Remove bricks from an existing volume] ********************************* 
failed: [rhshdp03.lab.eng.blr.redhat.com] => {"failed": true}
msg: unsupported parameter for module: command

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/root/gluster-remove-brick.retry

rhshdp03.lab.eng.blr.redhat.com : ok=0    changed=0    unreachable=0    failed=1   

You can view the generated configuration files inside /tmp/playbooks/


Additional info:


[volume]
action=remove-brick
volname=glustervol2
bricks=rhshdp05.lab.eng.blr.redhat.com:/gluster/brick/vol1_add,rhshdp06.lab.eng.blr.redhat.com:/gluster/brick/vol1_add
state=start
force=yes

Comment 2 Nandaja Varma 2015-09-01 05:52:01 UTC
This one is fixed and is available in the latest build.

Comment 3 Anush Shetty 2015-09-08 09:16:36 UTC
Verified with gdeploy-1.0-9.el7rhgs.noarch

Comment 4 Rejy M Cyriac 2015-10-05 12:22:01 UTC
RHGS 3.1 Update 1


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