public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL4 - fence_lpar: #485094 - properly report status on systems in Open Firmware
@ 2009-02-11 16:04 Marek Grác
0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-02-11 16:04 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=8552819f297fa5821d01917878b253c0f42db046
Commit: 8552819f297fa5821d01917878b253c0f42db046
Parent: 429d9988ee05e61697d82995b25168c14c9cfdaf
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Wed Feb 11 17:03:14 2009 +0100
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Wed Feb 11 17:03:14 2009 +0100
fence_lpar: #485094 - properly report status on systems in Open Firmware
---
fence/agents/lpar/fence_lpar.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/lpar/fence_lpar.py b/fence/agents/lpar/fence_lpar.py
index aeb6a9a..33ab92b 100755
--- a/fence/agents/lpar/fence_lpar.py
+++ b/fence/agents/lpar/fence_lpar.py
@@ -34,7 +34,7 @@ def get_power_status(conn, options):
##
## Transformation to standard ON/OFF status if possible
- if status == "Running":
+ if status in ["Running", "Open Firmware", "Shutting Down"]:
status = "on"
else:
status = "off"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-11 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-11 16:04 cluster: RHEL4 - fence_lpar: #485094 - 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).