Bug 1692666

Summary: ssh-port config set is failing
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1695445 1782162 (view as bug list) Environment:
Last Closed: 2019-03-27 14:35:10 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: 1695445, 1782162    

Description Aravinda VK 2019-03-26 07:56:36 UTC
Description of problem:

If non-standard ssh-port is used, Geo-rep can be configured to use that ssh port by configuring as below

```
gluster volume geo-replication <mastervol> <slavehost>::<slavevol> config ssh-port 2222
```

But this command is failing even if a valid value is passed.

```
$ gluster v geo gv1 centos.sonne::gv2 config ssh-port 2222
geo-replication config-set failed for gv1 centos.sonne::gv2
geo-replication command failed
```

Comment 1 Worker Ant 2019-03-26 08:00:05 UTC
REVIEW: https://review.gluster.org/22418 (geo-rep: fix integer config validation) posted (#1) for review on master by Aravinda VK

Comment 2 Worker Ant 2019-03-27 14:35:10 UTC
REVIEW: https://review.gluster.org/22418 (geo-rep: fix integer config validation) merged (#2) on master by Amar Tumballi