Bug 126743 - cman won't start for a 2-node cluster
Summary: cman won't start for a 2-node cluster
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: gfs
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Teigland
QA Contact: Derek Anderson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-25 16:16 UTC by Derek Anderson
Modified: 2010-01-12 02:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-30 19:37:43 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.