Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

Cluster-devel [email protected] 1 participant 1 message Feb 13, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL4
Changes by: rmccabe at sourceware.org 2007-02-13 19:50:39

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&only_with_tag=RHEL4&r1=1.227.2.6&r2=1.227.2.7

luci/site/luci/Extensions/cluster_adapters.py +3 -1
@@ -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: