Bug 1793412 - config ssh-port can accept negative and outside allowed port range value
Summary: config ssh-port can accept negative and outside allowed port range value
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Sunny Kumar
QA Contact:
URL:
Whiteboard:
Depends On: 1792276 1796814
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-21 10:09 UTC by Sunny Kumar
Modified: 2020-02-10 07:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1792276
Environment:
Last Closed: 2020-02-10 07:30:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 24048 0 None Merged geo-rep: Fix ssh-port validation 2020-02-10 07:30:24 UTC

Description Sunny Kumar 2020-01-21 10:09:52 UTC
+++ This bug was initially created as a clone of Bug #1792276 +++

Description of problem:

If non-standard ssh-port is used, Geo-rep can be configured to use ssh port by using config option, the value should be in allowed port range and non negative.


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


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


$ gluster volume geo-replication master 127.0.0.1::slave config ssh-port -22
    geo-replication config updated successfully
$ gluster volume geo-replication master 127.0.0.1::slave config ssh-port 22222222
    geo-replication config updated successfully

--- Additional comment from Worker Ant on 2020-01-17 13:14:06 UTC ---

REVIEW: https://review.gluster.org/24035 (geo-rep: Fix ssh-port validation) posted (#1) for review on master by Sunny Kumar

--- Additional comment from Worker Ant on 2020-01-19 06:32:07 UTC ---

REVIEW: https://review.gluster.org/24035 (geo-rep: Fix ssh-port validation) merged (#2) on master by Sunny Kumar

Comment 1 Worker Ant 2020-01-21 10:12:18 UTC
REVIEW: https://review.gluster.org/24048 (geo-rep: Fix ssh-port validation) posted (#1) for review on release-7 by Sunny Kumar

Comment 2 Worker Ant 2020-02-10 07:30:25 UTC
REVIEW: https://review.gluster.org/24048 (geo-rep: Fix ssh-port validation) merged (#2) on release-7 by Rinku Kothiya


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