Gitweb:
http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: 3c931231267aa1030b0ee2a2cc1e95271f76ecd5
Parent: 0b69dfb351d7d509f2ca27a4676c6a179e0a9af4
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Wed Sep 23 13:55:18 2009 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Wed Sep 23 14:00:18 2009 +0200
fence_apc: fence_apc fails to fence node - Unable to obtain plug status
New firmware allows new ouput:
1- Outlet 1:1 shell-01 ON Graceful Shutdown
Resolves: bz#517860
---
fence/agents/apc/fence_apc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/apc/fence_apc.py b/fence/agents/apc/fence_apc.py
index e4a3e3d..a48877e 100755
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -70,7 +70,7 @@ def get_power_status(conn, options):
while True:
exp_result = conn.log_expect(options, [ options["-c"], "Press
<ENTER>" ], SHELL_TIMEOUT)
lines = conn.before.split("\n");
- show_re = re.compile('^\s*(\d+)- (.*?)\s+(ON|OFF)\s*$')
+ show_re = re.compile('^\s*(\d+)- (.*?)\s+(ON|OFF)\s*')
for x in lines:
res = show_re.search(x)
if (res != None):