Bug 1254978

Summary: gdeploy: remove-brick failures
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anush Shetty <ashetty>
Component: coreAssignee: Nandaja Varma <nvarma>
Status: CLOSED CURRENTRELEASE QA Contact: Anush Shetty <ashetty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: nvarma, rcyriac, rhs-bugs, smohan, storage-qa-internal, surs
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdeploy-1.0-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 12:22:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1251815    

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