Description of problem: Attempted to start cman_tool for a 2 node cluster. Failed even when -e 1 was set correctly. [root@link-11 /]# cman_tool -h Usage: cman_tool <join|leave|kill|expected|votes> [options] Options: -m <addr> * Multicast address to use (combines with -i) -i <ifname> * Interfaces for above multicast addresses -v <votes> Number of votes this node has (default 1) -e <votes> Number of expected votes for the cluster (no default) <snip> [root@link-11 /]# cman_tool -2 -e 1 join cman_tool: expected_votes must be 1 with special two node mode [root@link-11 /]# echo $? 1 [root@link-11 /]# Version-Release number of selected component (if applicable): How reproducible: Yes. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Without the -X switch, cman_tool will use CCS. CCS currently overrides the command-line (which is arguably wrong) so what's happening here is that you are adding -2 to the join parameters but expected votes is coming from CCS. ccs_tool needs to be more intuitive about what it does with parameters.
cman_tool will now print a general warning when it's about to override any command line options with values from ccs. The error messages also include the invalid values now so it should be easier to see what's wrong.
saw the new general warning and the error message with invalid value.
Updating version to the right level in the defects. Sorry for the storm.