Bug 134234 - First cman node always gets nodeid of 1, cannot be overridden
Summary: First cman node always gets nodeid of 1, cannot be overridden
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: Christine Caulfield
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-30 14:20 UTC by Derek Anderson
Modified: 2010-01-12 02:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-30 16:15:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Derek Anderson 2004-09-30 14:20:38 UTC
Description of problem:
Have three nodes link-10, link-11, link-12 join cman with nodeids of
10, 11, and 12 respectively and in that order.  The first node to join
gets nodeid 1.

[root@link-12 root]# cat /proc/cluster/nodes
Node  Votes Exp Sts  Name
   1    1    3   M   link-10
  11    1    3   M   link-11
  12    1    3   M   link-12

Version-Release number of selected component (if applicable):
[root@link-12 root]# cman_tool -V
cman_tool DEVEL.1096551928 (built Sep 30 2004 08:46:38)
Copyright (C) Red Hat, Inc.  2004  All rights reserved.

How reproducible:
Yes.

Steps to Reproduce:
1. Run cman_tool join -N 5 on the first node to join the cluster
2. Join another node
3. The first node to join gets nodeid 1, not the id specified on the
command line.
  
Actual results:
Gets 1.


Expected results:
Gets what was specified.

Additional info:

Comment 1 Christine Caulfield 2004-09-30 14:59:16 UTC
expunged a hard-coded 1

Checking in membership.c;
/cvs/cluster/cluster/cman-kernel/src/membership.c,v  <--  membership.c
new revision: 1.24; previous revision: 1.23
done

Comment 2 Derek Anderson 2004-09-30 16:15:01 UTC
Verified:

[root@link-10 root]# cat /proc/cluster/nodes
Node  Votes Exp Sts  Name
   6    1    3   M   link-12
   8    1    3   M   link-11
  10    1    3   M   link-10

Comment 3 Kiersten (Kerri) Anderson 2004-11-16 19:06:45 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.