+++ 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): ovirt1.0snap9 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from pmyers 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 mgrac 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 fdinitto 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 mgrac 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. http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commit;h=e3835309fe31d96795f47513aecb6629cb46faa0
Original (and simplified patch) need additional fix from http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commit;h=d91b912aedfe0b44a8fba970d4a670fba3607fec
Created attachment 359282 [details] Proposed patch
Final patch: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commit;h=28f3bf4cff08f5d714e9d7b134ebbce12264746e
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 1.1.1.1 -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. New Contents: 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. http://rhn.redhat.com/errata/RHBA-2010-0266.html