Cluster Project branch, master, updated. cluster-2.99.01-4-gc2065b8
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".
The branch, master has been updated
via c2065b8a34d1a125f5758da4194ad376320a0130 (commit)
via ad7d8707c68991599ca80cc61f10adb3746ac645 (commit)
from 3938413c0a2ef819d15da44f7e2eaaa5129cf135 (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 c2065b8a34d1a125f5758da4194ad376320a0130
Author: Marek 'marx' Grac <[email protected]> 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 ad7d8707c68991599ca80cc61f10adb3746ac645
Author: Fabio M. Di Nitto <[email protected]> Date: Wed May 14 14:08:54 2008 +0200
[FENCE] Rename bladecenter as it should be .pl -> .py
-----------------------------------------------------------------------
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%)fence/agents/apc/fence_apc.py +2 -2
@@ -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():
fence/agents/bladecenter/fence_bladecenter.py renamed from fence/agents/bladecenter/fence_bladecenter.pl +2 -2
@@ -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():
fence/agents/drac/fence_drac5.py +2 -2
@@ -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():
fence/agents/ilo/fence_ilo.py +2 -2
@@ -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():
fence/agents/wti/fence_wti.py +2 -2
@@ -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