This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
Cluster Project branch, STABLE2, updated. cluster-2.03.02-11-g7083076
- From: fabbione at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com, cluster-devel at redhat dot com
- Date: 14 May 2008 12:12:16 -0000
- Subject: Cluster Project branch, STABLE2, updated. cluster-2.03.02-11-g7083076
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".
http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=7083076250b6a0409650a43a8247fd1fb9464c96
The branch, STABLE2 has been updated
via 7083076250b6a0409650a43a8247fd1fb9464c96 (commit)
via db80f768386f41c98c6c9254fea4a97a113506fd (commit)
from a0ed2514cefac4256ba981ffb758210665885e6f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7083076250b6a0409650a43a8247fd1fb9464c96
Author: Marek 'marx' Grac <mgrac@redhat.com>
Date: Tue May 13 18:21:44 2008 +0200
[FENCE] Fix typo in name of the exceptions in fencing agents
Exceptions should be pexpect.EOF, pexpect.TIMEOUT (not pexcept.*). This
problem only occured in set_status(). Function get_status() contains
correct exceptions.
commit db80f768386f41c98c6c9254fea4a97a113506fd
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date: Wed May 14 14:08:54 2008 +0200
[FENCE] Rename bladecenter as it should be .pl -> .py
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
fence/agents/apc/fence_apc.py | 4 ++--
.../{fence_bladecenter.pl => fence_bladecenter.py} | 4 ++--
fence/agents/drac/fence_drac5.py | 4 ++--
fence/agents/ilo/fence_ilo.py | 4 ++--
fence/agents/wti/fence_wti.py | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
rename fence/agents/bladecenter/{fence_bladecenter.pl => fence_bladecenter.py} (98%)
diff --git a/fence/agents/apc/fence_apc.py b/fence/agents/apc/fence_apc.py
index c9a0571..cdfd74a 100755
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -118,9 +118,9 @@ def set_power_status(conn, options):
conn.send(chr(03))
conn.log_expect(options, "- Logout", SHELL_TIMEOUT)
conn.log_expect(options, options["-c"], SHELL_TIMEOUT)
- except pexcept.EOF:
+ except pexpect.EOF:
fail(EC_CONNECTION_LOST)
- except pexcept.TIMEOUT:
+ except pexpect.TIMEOUT:
fail(EC_TIMED_OUT)
def main():
diff --git a/fence/agents/bladecenter/fence_bladecenter.pl b/fence/agents/bladecenter/fence_bladecenter.py
similarity index 98%
rename from fence/agents/bladecenter/fence_bladecenter.pl
rename to fence/agents/bladecenter/fence_bladecenter.py
index e049735..d149ede 100755
--- a/fence/agents/bladecenter/fence_bladecenter.pl
+++ b/fence/agents/bladecenter/fence_bladecenter.py
@@ -56,9 +56,9 @@ def set_power_status(conn, options):
conn.log_expect(options, node_cmd, SHELL_TIMEOUT)
conn.send("env -T system\r\n")
conn.log_expect(options, options["-c"], SHELL_TIMEOUT)
- except pexcept.EOF:
+ except pexpect.EOF:
fail(EC_CONNECTION_LOST)
- except pexcept.TIMEOUT:
+ except pexpect.TIMEOUT:
fail(EC_TIMED_OUT)
def main():
diff --git a/fence/agents/drac/fence_drac5.py b/fence/agents/drac/fence_drac5.py
index f3e5a1d..e498d8c 100755
--- a/fence/agents/drac/fence_drac5.py
+++ b/fence/agents/drac/fence_drac5.py
@@ -44,9 +44,9 @@ def set_power_status(conn, options):
try:
conn.sendline("racadm serveraction " + action)
conn.log_expect(options, options["-c"], POWER_TIMEOUT)
- except pexcept.EOF:
+ except pexpect.EOF:
fail(EC_CONNECTION_LOST)
- except pexcept.TIMEOUT:
+ except pexpect.TIMEOUT:
fail(EC_TIMED_OUT)
def main():
diff --git a/fence/agents/ilo/fence_ilo.py b/fence/agents/ilo/fence_ilo.py
index dfc9d74..a5471db 100755
--- a/fence/agents/ilo/fence_ilo.py
+++ b/fence/agents/ilo/fence_ilo.py
@@ -43,9 +43,9 @@ def set_power_status(conn, options):
try:
conn.send("power " + options["-o"] + "\r\n")
conn.log_expect(options, options["-c"], POWER_TIMEOUT)
- except pexcept.EOF:
+ except pexpect.EOF:
fail(EC_CONNECTION_LOST)
- except pexcept.TIMEOUT:
+ except pexpect.TIMEOUT:
fail(EC_TIMED_OUT)
def main():
diff --git a/fence/agents/wti/fence_wti.py b/fence/agents/wti/fence_wti.py
index e72d449..68dc58d 100755
--- a/fence/agents/wti/fence_wti.py
+++ b/fence/agents/wti/fence_wti.py
@@ -60,9 +60,9 @@ def set_power_status(conn, options):
try:
conn.send(action + " " + options["-n"] + ",y\r\n")
conn.log_expect(options, options["-c"], POWER_TIMEOUT)
- except pexcept.EOF:
+ except pexpect.EOF:
fail(EC_CONNECTION_LOST)
- except pexcept.TIMEOUT:
+ except pexpect.TIMEOUT:
fail(EC_TIMED_OUT)
def main():
hooks/post-receive
--
Cluster Project