cluster: STABLE3 - [FENCE] Resolves #472781 - Properly report status on systems in Open Firmware
Marek Grác
marx@fedoraproject.org
Mon Jan 26 13:04:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=85664567545315c307f41d695a3c947cc6c70415
Commit: 85664567545315c307f41d695a3c947cc6c70415
Parent: 6ac2de5fcff5c0636c807e50c85d5223929a8229
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Mon Jan 26 14:00:25 2009 +0100
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Mon Jan 26 14:02:20 2009 +0100
[FENCE] Resolves #472781 - Properly report status on systems in Open Firmware
---
fence/agents/lpar/fence_lpar.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fence/agents/lpar/fence_lpar.py b/fence/agents/lpar/fence_lpar.py
index 56c3153..53063b8 100644
--- a/fence/agents/lpar/fence_lpar.py
+++ b/fence/agents/lpar/fence_lpar.py
@@ -33,6 +33,8 @@ def get_power_status(conn, options):
##
## Transformation to standard ON/OFF status if possible
+ if status in ["Running", "Open Firmware", "Shutting Down"]:
+
if status == "Running":
status = "on"
else:
More information about the Cluster-cvs
mailing list