public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE2 - [FENCE] Resolves #472781 - Properly report status on systems in Open Firmware
@ 2009-01-26 13:05 Marek Grác
  0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-01-26 13:05 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=73788833ea5986e28676081665c6fc5077b40b85
Commit:        73788833ea5986e28676081665c6fc5077b40b85
Parent:        b06532db3876fb39da010c05fccdb776fe85bc08
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:04:13 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 a8a4fe9..cea3545 100755
--- 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:05 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:05 cluster: STABLE2 - [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).