[Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ...
rmccabe at sourceware.org
rmccabe at sourceware.org
Tue Feb 13 19:50:59 UTC 2007
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-02-13 19:50:58
Modified files:
luci/site/luci/Extensions: cluster_adapters.py
Log message:
Fix for service info display when a gulm cluster is unresponsive.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.237&r2=1.238
--- conga/luci/site/luci/Extensions/cluster_adapters.py 2007/02/12 20:24:28 1.237
+++ conga/luci/site/luci/Extensions/cluster_adapters.py 2007/02/13 19:50:58 1.238
@@ -4569,7 +4569,9 @@
infohash['currentservices'] = svc_dict_list
fdom_dict_list = list()
+ gulm_cluster = False
if model:
+ gulm_cluster = model.getGULMPtr() is not None
try:
infohash['gulm_lockserver'] = model.isNodeLockserver(nodename)
except:
@@ -4607,7 +4609,7 @@
if rc is not None:
dlist = list()
dlist.append("ccsd")
- if model.getGULMPtr() is None:
+ if not gulm_cluster:
dlist.append("cman")
dlist.append("fenced")
else:
More information about the Cluster-devel
mailing list