public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL4 - [FENCE] Fixes #485065 - Fix of add support for LPAR/HMC v3
@ 2009-02-19 16:31 Marek Grác
0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-02-19 16:31 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ef0ddc8d5a80f38b92939a5f403ed444b10015d4
Commit: ef0ddc8d5a80f38b92939a5f403ed444b10015d4
Parent: 23d6ea4163025570f5e7f63b4305afc16124134a
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Thu Feb 19 17:26:23 2009 +0100
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Thu Feb 19 17:26:23 2009 +0100
[FENCE] Fixes #485065 - Fix of add support for LPAR/HMC v3
In RHCS 4.x there is no support for 'default' in fencing library. And 4 has to be passed in as "4".
---
fence/agents/lib/fencing.py.py | 1 -
fence/agents/lpar/fence_lpar.py | 3 +++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 52f1afd..c187b4a 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -102,7 +102,6 @@ all_opt = {
"getopt" : "H:",
"longopt" : "hmc-version",
"help" : "-H, --hmc-version=<version> Force HMC version to use: 3, 4 (default)",
- "default" : 4,
"order" : 1 },
"ribcl" : {
"getopt" : "r:",
diff --git a/fence/agents/lpar/fence_lpar.py b/fence/agents/lpar/fence_lpar.py
index c87184c..d0664eb 100755
--- a/fence/agents/lpar/fence_lpar.py
+++ b/fence/agents/lpar/fence_lpar.py
@@ -92,6 +92,9 @@ def main():
if 0 == options.has_key("-c"):
options["-c"] = [ ":~>", "]\$" ]
+ if 0 == options.has_key("-H"):
+ options["-H"] = "4"
+
if 0 == options.has_key("-x"):
fail_usage("Failed: You have to use ssh connection (-x) to fence device")
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-19 16:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-19 16:31 cluster: RHEL4 - [FENCE] Fixes #485065 - Fix of add support for LPAR/HMC v3 Marek Grác
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).