conga/luci/site/luci/Extensions ricci_bridge.py
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-07-19 22:50:13
Modified files:
luci/site/luci/Extensions: ricci_bridge.py
Log message:
fix error in batch command construction
luci/site/luci/Extensions/ricci_bridge.py +8 -2
@@ -556,7 +556,11 @@ batch += '<clusternode name="' + i + '" votes="1" />' batch += '</clusternodes>' - batch += '<cman/>' + if len(nodeList) == 2: + batch += '<cman expected_votes="1" two_node="1"/>' + else: + batch += '<cman/>' + batch += '<fencedevices/>' batch += '<rm/>' batch += '</cluster>'
@@ -567,7 +571,9 @@ batch += '<module name="cluster">' batch += '<request API_version="1.0">' - batch += '<function_call name="start_node" cluster_startup="true"/>' + batch += '<function_call name="start_node">' + batch += '<var mutable="false" name="cluster_startup" type="boolean" value="true"/>' + batch += '</function_call>' batch += '</request>' batch += '</module>' batch += '</batch>'