Bug 624312 - Two <interfaces ...> tags not allowed with rrp_mode passive or active
Summary: Two <interfaces ...> tags not allowed with rrp_mode passive or active
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cluster
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-16 00:08 UTC by Madison Kelly
Modified: 2011-02-08 11:11 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-02-08 11:11:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Sample cluster.conf file that causes the bug. (949 bytes, application/octet-stream)
2010-08-16 00:08 UTC, Madison Kelly
no flags Details

Description Madison Kelly 2010-08-16 00:08:16 UTC
Created attachment 438870 [details]
Sample cluster.conf file that causes the bug.

Description of problem:

When trying to setup redundant ring protocol by setting 'rrp_mode' to 'passive' or 'active' and then defining two <interface ...> elements, the cluster fails to start with error 8.

Version-Release number of selected component (if applicable):

cman-3.0.14-1.fc13.x86_64
corosync-1.2.7-1.fc13.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Set '<totem...>'s 'rrp_mode' to 'active' or 'passive'.
2. Define two '<interface ...>' elements
3. Start cman
  
Actual results:

Results are the same for either 'passive' or 'active':
---------------------------------------------------
[root@an-node01 cluster]# /etc/init.d/cman start
Starting cluster: 
   Checking Network Manager...                             [  OK  ]
   Global setup...                                         [  OK  ]
   Loading kernel modules...                               [  OK  ]
   Mounting configfs...                                    [  OK  ]
   Starting cman... corosync died: Error, reason code is 8
                                                           [FAILED]
---------------------------------------------------

In '/var/log/messages'
---------------------------------------------------
Aug 15 19:53:45 an-node01 kernel: DLM (built Jul 23 2010 17:15:40) installed
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] Corosync Cluster Engine ('1.2.7'): started and ready to provide service.
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] Corosync built-in features: nss rdma
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] Successfully read config from /etc/cluster/cluster.conf
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] Successfully parsed cman config
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] Successfully configured openais services to load
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] parse error in config: 3 is too many configured interfaces for the rrp_mode setting passive.
Aug 15 19:53:45 an-node01 corosync[2060]:   [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1425.
---------------------------------------------------

Expected results:

The cluster to start with redundant totem rings.

Additional info:

Snippet of the relevant cluster.conf sections:
---------------------------------------------------
        <totem secauth="off" rrp_mode="passive">
                <interface ringnumber="0" bindnetaddr="10.0.1.0" mcastaddr="239.192.122.47" mcastport="5405" />
                <interface ringnumber="1" bindnetaddr="10.0.0.0" mcastaddr="239.192.122.48" mcastport="5405" />
        </totem>
---------------------------------------------------

Comment 1 Madison Kelly 2010-08-23 01:22:22 UTC
I believe this is the bug Fabio said wasn't, in fact, a bug. Closing.

Comment 2 Fabio Massimo Di Nitto 2011-02-08 11:11:16 UTC
same as the other bug.. the cman config for rrp is driven by cluster nodename and altname.


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