Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: 434b08025485c1d7acfa03fc7d14fdb0e54a6c74
Parent: 31000582619959bf3e596bd776cc75fedc8cadf2
Author: Brandon Perkins <bperkins(a)redhat.com>
AuthorDate: Mon Mar 7 12:05:30 2011 -0500
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Mon Mar 21 20:12:05 2011 -0400
fence-agents: Fence_rhevm needs to change "RUNNING" status to "UP"
status as the REST-API has changed.
Resolves: rhbz#681670
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 c63251a..323ccf8 100755
--- a/fence/agents/rhevm/fence_rhevm.py
+++ b/fence/agents/rhevm/fence_rhevm.py
@@ -40,7 +40,7 @@ def get_power_status(conn, options):
else:
status = result.group(1)
- if (status == "RUNNING"):
+ if (status == "UP"):
return "on"
else:
return "off"