[Cluster-devel] conga/luci/site/luci/Extensions ricci_bridge.py

rmccabe at sourceware.org rmccabe at sourceware.org
Thu Oct 12 22:41:27 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-10-12 22:41:27

Modified files:
	luci/site/luci/Extensions: ricci_bridge.py 

Log message:
	nodeid must be > 0

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_bridge.py.diff?cvsroot=cluster&r1=1.25&r2=1.26

--- conga/luci/site/luci/Extensions/ricci_bridge.py	2006/10/12 21:57:09	1.25
+++ conga/luci/site/luci/Extensions/ricci_bridge.py	2006/10/12 22:41:27	1.26
@@ -778,11 +778,11 @@
     batch += '<function_call name="set_cluster.conf">'
     batch += '<var mutable="false" name="propagate" type="boolean" value="false"/>'
     batch += '<var mutable="false" name="cluster.conf" type="xml">'
-    batch += '<cluster config_version="1" name="' + cluster_name + '" alias="' + cluster_alias + '" cluster_version="' + cluster_version + '">'
+    batch += '<cluster config_version="1" name="' + cluster_name + '" alias="' + cluster_alias + '">'
     batch += '<fence_daemon post_fail_delay="0" post_join_delay="3"/>'
 
     batch += '<clusternodes>'
-    x = 0
+    x = 1
     for i in nodeList:
         if os_str == "rhel4":
           batch += '<clusternode name="' + i + '" votes="1" />'




More information about the Cluster-devel mailing list