keepalived does not honor use_vmac directive

Bug #1055892 reported by Martin Jackson
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keepalived (Ubuntu)
New
Medium
Unassigned

Bug Description

As of precise/quantal, keepalived does not honor the use_vmac directive. Expected behavior is for keepalived to synthesize a virtual mac address to go along with the virtual IP address. This is important in situations where systems do not accept gratuitous ARP as a means to fail over a virtual IP address.

I have built a version against the latest upstream (1.2.7), which does honor the use_vmac directive as expected. below follows an example of how it should look (see 6:):

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:36:14:4f brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.105/24 brd 192.168.4.255 scope global eth0
    inet6 fe80::a00:27ff:fe36:144f/64 scope link
       valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
    link/ether a2:20:3b:c0:e0:1a brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
6: vrrp.90@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:00:5e:00:01:5a brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.200/32 scope global vrrp.90
    inet6 fe80::200:5eff:fe00:15a/64 scope link
       valid_lft forever preferred_lft forever

Revision history for this message
Martin Jackson (mhjacks) wrote :

I should add that this didn't work quite as expected - although the mac addresses were set as expected, the interfaces in question did not respond to pings or function as HA IPs. So there may be more going on.

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Is this a regression in keepalived, a feature that has never previously worked, or a new feature in a new upstream version that you would like included?

Changed in keepalived (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Jackson (mhjacks) wrote :

It is a feature that is advertised but not apparently functional in the current Ubuntu version. So "feature that has never previously worked" is the best of those three. It may be that there are changes in more recent versions (post 1.2.2) that are necessary to make it work as well. Debian/experimental has a package for 1.2.6, at least (which I haven't tried yet): http://packages.debian.org/experimental/keepalived

Robie Basak (racb)
Changed in keepalived (Ubuntu):
status: Incomplete → New
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.