Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commit... Commit: eb08d9febd107f80616c3e36b3bd48e1bfe38934 Parent: 20e4a71307d615d5842e6b56dc03cf54221a4412 Author: Brandon Perkins bperkins@redhat.com AuthorDate: Mon Mar 7 12:05:30 2011 -0500 Committer: Marcus Barrow mbarrow@redhat.com CommitterDate: Wed Mar 9 15:19:46 2011 -0500
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@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"
cluster-commits@lists.stg.fedorahosted.org