Bug 1462079

Summary: [gfapi statedump] : client parameter accepts garbage inputs and shows success on stdout..
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ambarish <asoman>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED WONTFIX QA Contact: Bala Konda Reddy M <bmekala>
Severity: high Docs Contact:
Priority: low    
Version: rhgs-3.3CC: amukherj, asriram, ndevos, pgurusid, pmulay, rhinduja, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Statedump reports success even when it fails because of incorrect client host value, for example: # gluster volume statedump <replaceable>volume</replaceable> client <not-a-host>:<port> To work around this issue, ensure the value of <host> is correct.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-31 11:19:51 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:

Description Ambarish 2017-06-16 06:51:31 UTC
Description of problem:
-----------------------

Client parameter is accepting garbage values as inputs :

[root@gqas007 gluster]# gluster v statedump testvol  client garbage:3343
volume statedump: success

[root@gqas007 gluster]# gluster v statedump testvol  client cljfeuoregfourehfreouvfohre:3343
volume statedump: success
[root@gqas007 gluster]#


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

glusterfs-3.8.4-25.el7rhgs.x86_64

How reproducible:
-----------------

Every which way I try.