From 434b08025485c1d7acfa03fc7d14fdb0e54a6c74 Mon Sep 17 00:00:00 2001 From: Brandon Perkins <bperkins@redhat.com> Date: Mon, 7 Mar 2011 12:05:30 -0500 Subject: [PATCH] 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@redhat.com> Reviewed-by: Lon Hohberger <lhh@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" -- 1.7.3.4