Bug 572996

Summary: Fence-Agents: fence_wti, support non-default TCP ports for the different services (SSH, Telnet)
Product: Red Hat Enterprise Linux 5 Reporter: Perry Myers <pmyers>
Component: cmanAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: bkahn, cluster-maint, cward, djansa, fdinitto, iannis, jkortus, justin, mgrac, ovirt-maint
Target Milestone: rcKeywords: OtherQA
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cman-2.0.115-39.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 506928
: 579059 593726 (view as bug list) Environment:
Last Closed: 2011-01-13 22:32:28 UTC Type: ---
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: 496446, 506928    
Bug Blocks: 579059, 593726    
Attachments:
Description Flags
Screenshot showing the default telnet port 23 (was disabled in this instance).
none
Screenshot showing the default telnet port being enabled and changed to port 50.
none
Screenshot showing successfully working with telnet through port 50 on the wti device. none

Comment 1 Perry Myers 2010-03-12 15:15:19 UTC
Note, the WTI devices may not even support overriding default ports.  In this case the fix for fence-agents may be to remove the -u option from the fence_wti agent so that it is clear that ports may not be modified.

Comment 2 Lon Hohberger 2010-03-12 16:56:21 UTC
IPS doesnt doesn't allow redefining ports.

RSM doesn't allow redefining ports either.

I'll check the VMR when I get it hooked up, but I'm pretty sure it doesn't.

Comment 3 Marek Grac 2010-03-16 10:57:48 UTC
Checked: VMR does not have option to redefine port. It is only possible to turn service (ssh/telnet/web/radius/..) on/off

Comment 4 Marek Grac 2010-04-02 11:59:39 UTC
Option will be removed from the fence_wti agent.

Comment 6 Marek Grac 2010-04-23 13:06:18 UTC
*** Bug 583051 has been marked as a duplicate of this bug. ***

Comment 7 Justin Clift 2010-05-02 04:58:14 UTC
The WTI IPS-800 CE models definitely allow ports to be changed.

Attaching three screenshots, showing the default telnet port being changed to port 50, then connecting to that manually using telnet as verification it works.

Comment 8 Justin Clift 2010-05-02 04:58:53 UTC
Created attachment 410758 [details]
Screenshot showing the default telnet port 23 (was disabled in this instance).

Comment 9 Justin Clift 2010-05-02 04:59:39 UTC
Created attachment 410759 [details]
Screenshot showing the default telnet port being enabled and changed to port 50.

Comment 10 Justin Clift 2010-05-02 05:00:34 UTC
Created attachment 410760 [details]
Screenshot showing successfully working with telnet through port 50 on the wti device.

Comment 11 Marek Grac 2010-06-18 16:05:57 UTC
Support for non-default ports added

http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=5fae628d12c1c38b1d29a05bf58a2e0c4e19aec7

Comment 13 Lon Hohberger 2010-12-08 21:22:25 UTC
Marek's patch works on my VMR:

[root@rhel5-1 ~]# /sbin/fence_wti -u 3223 -p super -l super -n A8 -o reboot -a 10.16.18.73
Success: Rebooted
[root@rhel5-1 ~]# /sbin/fence_wti -u 3223 -p super -l super -n A8 -o off -a 10.16.18.73
Success: Powered OFF
[root@rhel5-1 ~]# /sbin/fence_wti -u 3223 -p super -l super -n A8 -o on -a 10.16.18.73
Success: Powered ON

cman-2.0.115-66.el5

Comment 15 errata-xmlrpc 2011-01-13 22:32:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0036.html