Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: e3872a336a8f31d8ac3f342bd6631c600ec6d5f9
Parent: 539acade6590f0d1046ec67f51303473dccb5f08
Author: Brandon Perkins <bperkins(a)redhat.com>
AuthorDate: Mon Mar 7 12:05:30 2011 -0500
Committer: Marcus Barrow <mbarrow(a)redhat.com>
CommitterDate: Wed Mar 9 16:16:43 2011 -0500
fence-agents: Fence_rhevm needs to change "RUNNING" status to "UP"
status as the REST-API has changed.
Resolves: rhbz#681669
Signed-off-by: Marcus Barrow <mbarrow(a)redhat.com>
Reviewed-by: Lon Hohberger <lhh(a)redhat.com>
---
fence/agents/rhevm/fence_rhevm.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/rhevm/fence_rhevm.py b/fence/agents/rhevm/fence_rhevm.py
index 376e6e3..dea7283 100755
--- a/fence/agents/rhevm/fence_rhevm.py
+++ b/fence/agents/rhevm/fence_rhevm.py
@@ -41,7 +41,7 @@ def get_power_status(conn, options):
else:
status = result.group(1)
- if (status == "RUNNING"):
+ if (status == "UP"):
return "on"
else:
return "off"