Multicast advertisements not working with version 1.2.20

Peter Bauer <[email protected]> Fri, 13 May 2016 09:37:33 +0200
Newsgroups gmane.linux.keepalived.announce
Message-ID <[email protected]>
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
   }


}


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j