public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL5 - fence_lpar: option -x for ssh was required
@ 2009-07-13 15:13 Marek Grác
0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-07-13 15:13 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9913f8ed7bf92f7e4ad306dd65c3b2ec7e815818
Commit: 9913f8ed7bf92f7e4ad306dd65c3b2ec7e815818
Parent: a06e21bd1c7fc0590f1734db650bf7b6c60594bb
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Mon Jul 13 17:09:12 2009 +0200
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Mon Jul 13 17:09:12 2009 +0200
fence_lpar: option -x for ssh was required
Option -x is no longer required for LPAR. It is turned on automatically. This
should not change behaviour of fence agent as -x was required before and no
other access to LPAR/HMC is supported.
---
fence/agents/lib/fencing.py.py | 2 +-
fence/agents/lpar/fence_lpar.py | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 7aed327..ba8adae 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -109,7 +109,7 @@ all_opt = {
"hmc_version" : {
"getopt" : "H:",
"longopt" : "hmc-version",
- "help" : "-H, --hmc-version=<version> Force HMC version to use: 3, 4 (default)",
+ "help" : "-H <version> Force HMC version to use: 3, 4 (default)",
"order" : 1 },
"ribcl" : {
"getopt" : "r:",
diff --git a/fence/agents/lpar/fence_lpar.py b/fence/agents/lpar/fence_lpar.py
index 436d153..353ca06 100755
--- a/fence/agents/lpar/fence_lpar.py
+++ b/fence/agents/lpar/fence_lpar.py
@@ -92,6 +92,7 @@ def main():
"cmd_prompt", "ipport" ]
options = check_input(device_opt, process_input(device_opt))
+ options["-x"] = 1
##
## Fence agent specific defaults
@@ -102,9 +103,6 @@ def main():
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")
-
if 0 == options.has_key("-s"):
fail_usage("Failed: You have to enter name of managed system")
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-13 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-13 15:13 cluster: RHEL5 - fence_lpar: option -x for ssh was required 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).