public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - [FENCE] Resolves #472781 - Properly report status on systems in Open Firmware
@ 2009-01-26 13:04 Marek Grác
0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-01-26 13:04 UTC (permalink / raw)
To: cluster-cvs-relay
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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-26 13:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26 13:04 cluster: STABLE3 - [FENCE] Resolves #472781 - Properly report status on systems in Open Firmware Marek Grác
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).