Hello,

I'm in the process of testing the upgrade from wheezy to jessie of a few systems that use keepalived/ipvsadm.

ipvs state sync is not functional any more since 1:1.26-3, because of a bug in the init script.

When looking at the history of the init script, I can see the bug was introduced in a commit called "Fix syncid handling", which ironically actually horribly breaks the same thing.

https://github.com/formorer/pkg-ipvsadm/commit/66bae1cee1cd3d0f89466a92ee99fb61e8f0d47f

- $IPVSADM --start-daemon $DAEMON --mcast-interface $IFACE || log_end_msg 1 + $IPVSADM --syncid $SYNCID --start-daemon $DAEMON --mcast-interface \
+        $IFACE --syncid $SYNCID || log_end_msg 1

The --syncid $SYNCID is inserted twice in this line. This results in a command line that is rejected by ipvsadm, since the first occurence is a syntax error.

# ipvsadm --syncid 0 --start-daemon master --mcast-interface eth0 --syncid 0
Try `ipvsadm -h' or 'ipvsadm --help' for more information.

# ipvsadm --start-daemon master --mcast-interface eth0 --syncid 0
(OK)

Please remove the first --syncid $SYNCID in the three lines in the init script that start the sync daemon threads.

Was the change in this commit ever tested before releasing it? Due to the fact that Jessie is now frozen, every user of this functionality will end up with a disfunctional state sync after upgrading.

Thanks,
--
Hans van Kranenburg - System / Network Engineer
T +31 (0)10 2760434 | [email protected] | www.mendix.com


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to