Description of problem: The fence agent fence_lpar does not work with systems configured with Integrated Virtualization Manager (IVM) instead of a Host Management Console (HMC). IVM works the same as an HMC, except it is another partition on the same host. When attempting to apply fence_lpar to IVM I get the following error: Unable to connect/login to fencing device The problem is that the login prompt on an IVM system is a very terse "$ " which fence_lpar does not expect. The following patch allows IVM to work. diff --git a/fence/agents/lpar/fence_lpar.py b/fence/agents/lpar/fence_lpar.py index 450b507..2b669e3 100755 --- a/fence/agents/lpar/fence_lpar.py +++ b/fence/agents/lpar/fence_lpar.py @@ -96,7 +96,7 @@ def main(): ## Fence agent specific defaults ##### if 0 == options.has_key("-c"): - options["-c"] = [ ":~>", "]\$" ] + options["-c"] = [ ":~>", "]\$", "\$ " ] if 0 == options.has_key("-H"): options["-H"] = "4" Version-Release number of selected component (if applicable): cman-2.0.103-1.el5 How reproducible: Every time Steps to Reproduce: 1. try to fence a pSeries LPAR which is managed by IVM 2. 3. Actual results: Unable to connect/login to fencing device Expected results: The fence agent should be able to log in and perform the fence action. Additional info: Needed to complete testing of 5.4.
Adding TestBlocker keyword as this will block testing of Cluster and ClusterStorage components on pSeries hardware. We need to test on pSeries hardware because it will be a new supported platform in RHEL 5.4 for Cluster anc ClusterStorage components.
Verified with cman-2.0.108-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. http://rhn.redhat.com/errata/RHSA-2009-1341.html