Red Hat Bugzilla – Bug 506928
Fence-Agents: support non-default TCP ports for the different services (SSH, Telnet)
Last modified: 2016-04-26 12:05:10 EDT
+++ This bug was initially created as a clone of Bug #496446 +++
Description of problem:
At least with IBM's RSA, you can easily change the default ports of SSH and Telnet services. The agents should accept an optional param specifying the port (or accept address in the form of address:port)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
--- Additional comment from email@example.com on 2009-04-20 11:10:18 EDT ---
Moving this to be in next version of RHEVH. If this is a strict requirement for 1.0 release we'll need to get PM approval to add this as an exception.
--- Additional comment from firstname.lastname@example.org on 2009-06-15 09:38:09 EDT ---
Using address:port can be problem with ipv6 and we already have separate option 'udpport' for some agents.
--- Additional comment from email@example.com on 2009-06-16 01:38:30 EDT ---
maybe we can standardize on --port or --ipport or --tcpport. Afterall ssh and telnet don't use udp...
--- Additional comment from firstname.lastname@example.org on 2009-06-18 04:18:33 EDT ---
port is already used (plug number)
--ipport looks ok for me
imho udpport is already used also for tcp
Simplified patch taken from clone.
Original (and simplified patch) need additional fix from
Created attachment 359282 [details]
The fencing agents seem to accept new -u option and ipport STDIN parameter. The connection is made to the port specified.
However, none of the manpages was updated to reflect this change. "-u" option and the STDIN parameter "ipport" should be described in each agent's manpage.
fence_wti -u 54444 -a 18.104.22.168 -n 44
this still connects to port 23, so not all fencing agents are handling the new options correctly.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
The fence_wti agent provides command line options to override default ports (i.e. -u option). This option currently does not have any effect and should not be used. Other agents honor the port override commandline options properly.
Marking as verified with remark to bug 572996.
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.