Bug 1796814 - 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 ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHGS 3.5.z Batch Update 3
Assignee: Sunny Kumar
QA Contact: Leela Venkaiah Gangavarapu
URL:
Whiteboard:
Depends On: 1792276
Blocks: 1793412
TreeView+ depends on / blocked
 
Reported: 2020-01-31 10:03 UTC by Sayalee
Modified: 2020-12-17 04:51 UTC (History)
11 users (show)

Fixed In Version: glusterfs-6.0-38
Doc Type: No Doc Update
Doc Text:
Clone Of: 1792276
Environment:
Last Closed: 2020-12-17 04:51:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5603 0 None None None 2020-12-17 04:51:38 UTC

Description Sayalee 2020-01-31 10:03:28 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 Sunny Kumar 2020-01-31 10:15:42 UTC
Upstream patch:
https://review.gluster.org/#/c/glusterfs/+/24035/

Comment 2 Yaniv Kaul 2020-02-24 14:22:35 UTC
(In reply to Sunny Kumar from comment #1)
> Upstream patch:
> https://review.gluster.org/#/c/glusterfs/+/24035/

This is merged. What's the next step? Why is it stuck on POST?

Comment 6 Yaniv Kaul 2020-05-05 14:44:49 UTC
This should be a two liner automated script. Is it automated already?

Comment 14 errata-xmlrpc 2020-12-17 04:51:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glusterfs bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5603


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