Bug 126743

Summary: cman won't start for a 2-node cluster
Product: [Retired] Red Hat Cluster Suite Reporter: Derek Anderson <danderso>
Component: gfsAssignee: David Teigland <teigland>
Status: CLOSED CURRENTRELEASE QA Contact: Derek Anderson <danderso>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: ccaulfie
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-30 19:37:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Derek Anderson 2004-06-25 16:16:30 UTC
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:

Comment 1 Christine Caulfield 2004-06-28 07:02:41 UTC
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.

Comment 2 David Teigland 2004-06-28 07:45:49 UTC
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.

Comment 3 Corey Marthaler 2004-08-30 19:37:43 UTC
saw the new general warning and the error message with invalid value. 

Comment 4 Kiersten (Kerri) Anderson 2004-11-16 19:11:08 UTC
Updating version to the right level in the defects.  Sorry for the storm.