Bug 624312

Summary: Two <interfaces ...> tags not allowed with rrp_mode passive or active
Product: [Fedora] Fedora Reporter: Madison Kelly <mkelly>
Component: clusterAssignee: Fabio Massimo Di Nitto <fdinitto>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: agk, cfeist, fdinitto, lhh, swhiteho
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: 2011-02-08 11:11:16 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:
Attachments:
Description Flags
Sample cluster.conf file that causes the bug. none

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.