[Keepalived-announce] Multicast advertisements not working with version 1.2.20
Status: Beta
Brought to you by:
acassen
|
From: Peter B. <p....@av...> - 2016-05-13 07:53:44
|
Hi,
starting with version 1.2.20 there are no multicast messages sent in my
setup (CentOS 6.6). strace shows that the sendmsg call returns an error.
For reference i tried to configure unicast -> works and downgrading to
1.2.19 -> also works.
Process 12263 attached - interrupt to quit
select(1024, [4 6 10], [], [], {0, 330501}) = 0 (Timeout)
gettimeofday({1463120445, 895990}, NULL) = 0
gettimeofday({1463120445, 896224}, NULL) = 0
gettimeofday({1463120445, 896411}, NULL) = 0
select(1024, [4 6 10], [], [], {0, 642282}) = 0 (Timeout)
gettimeofday({1463120446, 539882}, NULL) = 0
sendmsg(11, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("224.0.0.18")},
msg_iov(1)=[{"E\300\0(\0\222\0\0\377p\31N\300\250\0\v\340\0\0\22!3d\1\0\1\271\275\300\250\0d"...,
40}], msg_controllen=0, msg_flags=0}, MSG_DONTROUTE) = -1 EINVAL
(Invalid argument)
gettimeofday({1463120446, 540308}, NULL) = 0
gettimeofday({1463120446, 540545}, NULL) = 0
gettimeofday({1463120446, 540775}, NULL) = 0
select(1024, [4 6 10], [], [], {0, 355449}) = 0 (Timeout)
gettimeofday({1463120446, 897257}, NULL) = 0
gettimeofday({1463120446, 897468}, NULL) = 0
gettimeofday({1463120446, 897636}, NULL) = 0
select(1024, [4 6 10], [], [], {0, 642909}) = 0 (Timeout)
gettimeofday({1463120447, 541799}, NULL) = 0
sendmsg(11, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("224.0.0.18")},
msg_iov(1)=[{"E\300\0(\0\223\0\0\377p\31M\300\250\0\v\340\0\0\22!3d\1\0\1\271\275\300\250\0d"...,
40}], msg_controllen=0, msg_flags=0}, MSG_DONTROUTE) = -1 EINVAL
(Invalid argument)
...
here is the /etc/keepalived/keepalived.conf
global_defs {
notification_email {
root@localhost
}
notification_email_from keepalived@mt1-b
smtp_server 127.0.0.1
smtp_connect_timeout 10
}
vrrp_instance VI_51 {
interface bond0
state BACKUP
virtual_router_id 51
priority 101
advert_int 1
garp_master_delay 5
smtp_alert
nopreempt
virtual_ipaddress {
10.116.7.199/24 dev bond0 label bond0:rec
}
}
|