Obviously it is a typo. NodeofRsc is a dict. This error was seldom
triggered just because
the branch was seldom reached.
can i check in the code now?
--- CTSaudits.py.in 2005-11-03 14:50:24.000000000 +0800
+++ new/CTSaudits.py.in 2005-12-05 22:03:58.000000000 +0800
@@ -295,8 +295,8 @@
passed = 0
self.CM.log("Not all resources in group %s running
on same node"%
str(group))
- self.CM.log("%s running on
%s"%(group[0].rid,NodeofRsc(group[0].rid)))
- self.CM.log("%s running on
%s"%(rsc.rid,NodeofRsc(rsc.rid)))
+ self.CM.log("%s running on %s"%(group[0].rid,
NodeofRsc[group[0].rid]))
+ self.CM.log("%s running on %s"%(rsc.rid,
NodeofRsc[rsc.rid]))
#Make sure the resouces with "must","placement" constraint are
running on the same node
Dependancies = self.CM.Dependencies()
--
JMP - James Pan
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/