Bug 902397

Summary: Corosync doesn't work with IPv6
Product: Red Hat Enterprise Linux 6 Reporter: Jan Friesse <jfriesse>
Component: corosyncAssignee: Jan Friesse <jfriesse>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.4CC: djansa, jkortus, sdake, tlavigne
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: corosync-1.4.1-15.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 07:51:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 905536    
Attachments:
Description Flags
Proposed patch none

Description Jan Friesse 2013-01-21 15:06:28 UTC
Created attachment 684367 [details]
Proposed patch

Description of problem:
Patch in https://bugzilla.redhat.com/show_bug.cgi?id=821352 contained regression which makes corosync not working at all with IPv6

Version-Release number of selected component (if applicable):
Starting from 1.4.1-8

How reproducible:
100%

Steps to Reproduce:
1. Configure ipv6 (for example ifconfig eth0 add fd00::1/8)
2. Configure corosync to use ipv6 (for example

# Please read the corosync.conf.5 manual page
totem {
version: 2

secauth:off
nodeid: 2
interface {
ringnumber: 0
bindnetaddr: fd00::1
mcastaddr: ff3e::4321:1234
mcastport: 5405
ttl: 1
}
}

logging {
fileline: off
to_stderr: yes
to_logfile: yes
logfile: /var/log/cluster/corosync.log
to_syslog: yes
debug: on
}

3. Start corosync
  
Actual results:
corosync [TOTEM ] Initializing transmit/receive security: libtomcrypt SOBER128/SHA1HMAC (mode 0).
corosync [IPC   ] you are using ipc api v2
corosync: totemsrp.c:4503: main_iface_change_fn: Assertion `instance->my_id.addr[iface_no].nodeid' failed.
corosync [TOTEM ] The network interface is down.
Aborted


Expected results:
corosync [TOTEM ] Local transmit multicast loop socket send buffer size (262142 bytes).
corosync [TOTEM ] The network interface [fd00::1] is now up.


Additional info:

Comment 9 errata-xmlrpc 2013-02-21 07:51:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0497.html