Red Hat Bugzilla – Bug 493802
[RFE] Providing support for ssh enabled RSA II fence devices
Last modified: 2016-04-26 10:24:18 EDT
Created attachment 337995 [details]
Fence agent for RSA II
Contains support for ssh, built on fencing library
Release note added. If any revisions are required, please set the
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.
Cause: Fence agent does not work when used with ssh
Consequences: User have to use telnet connection which is not secure enough
Fix: Fence agent was rewritten and ported to use fencing library
Result: User can use secure connection to fence device
~~ Attention - RHEL 5.4 Beta Released! ~~
RHEL 5.4 Beta has been released! There should be a fix present in the Beta release that addresses this particular request. Please test and report back results here, at your earliest convenience. RHEL 5.4 General Availability release is just around the corner!
If you encounter any issues while testing Beta, please describe the issues you have encountered and set the bug into NEED_INFO. If you encounter new issues, please clone this bug to open a new issue and request it be reviewed for inclusion in RHEL 5.4 or a later update, if it is not of urgent severity.
Please do not flip the bug status to VERIFIED. Only post your verification results, and if available, update Verified field with the appropriate value.
Questions can be posted to this bug or your customer or partner representative.
Customer tried this change as part of 5.4 beta tests and here are the results:
1) These lines fail:
12 from fencing import *
other fencing agents have:
With that change, the fence agent progresses further
2) Another failure happens here:
Comment #10 in bug 476161 seems to suggest this line should not be there, so I asked the customer to remove it and keep testing from there on.
Created attachment 356015 [details]
Patch to fencing agent included in bugzilla
Event posted on 2009-08-04 14:40 CEST by jturro
Customer tested fence_rsa patched with the patch in comment #9 and found
[root@node1 ~] fence_node node2
agent "fence_rsa" reports: Traceback (most recent call last):
File "/sbin/fence_rsa", line 77, in ?
File "/sbin/fence_rsa", line 63, in main
fence_action(conn, options, set_power_status, get_power_status, None)
TypeError: fence_action() takes exactly 4 arguments agent "fence_rsa"
reports: (5 given)
Based on other fence agents's code I suggested the following additional
--- ./fence_rsa.orig 2009-08-04 12:34:30.000000000 -0400
+++ ./fence_rsa 2009-08-04 12:34:42.000000000 -0400
@@ -60,7 +60,7 @@ def main():
## Operate the fencing device
conn = fence_login(options)
- fence_action(conn, options, set_power_status, get_power_status, None)
+ fence_action(conn, options, set_power_status, get_power_status)
## Logout from system
customer will likely test again with this change, subject to time
constrains and other test needs.
Are you aware of any additional expected change coming from differences in
This event sent from IssueTracker by jturro
Proposed patch is correct, there should be no more problems.
Verified that fence_rsa agent works in cman-2.0.115-1.el5.
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.