Package: ipvsadm
Version: 1:1.26-1
Severity: important

Dear Maintainer,
I've set up a pair of LVS clusters, using the same physical network.
I've configured the SYNCID in /etc/default/ipvsadm in order to keep the 
clusters independent,
but I was seeing that the connection on cluster A where replicated on cluster B 
and viceversa.

This is due to the fact that the SYNCID option is not used in the start file 
/etc/init.d/ipvsadm.

I've corrected (it's a simple fix) the init script, and I've noted that the 
issue is resolved in
(at least) the SID version of the package.

Anyway, I spent many time debugging the issue, and I think that a fix can be 
released for wheezy.

Here is the output of diff -Naur:

--- old/ipvsadm 2015-06-10 14:31:11.569427052 +0200
+++ new/ipvsadm 2015-06-10 14:31:20.402807000 +0200
@@ -29,14 +29,14 @@
     case $DAEMON in
        master|backup)
            log_daemon_msg "Starting IPVS Connection Synchronization Daemon" 
"$DAEMON"
-           $IPVSADM --start-daemon $DAEMON --mcast-interface $IFACE || 
log_end_msg 1
+           $IPVSADM --start-daemon $DAEMON --mcast-interface $IFACE --syncid 
$SYNCID || log_end_msg 1
            log_end_msg 0
            ;;
        both)
            log_daemon_msg "Starting IPVS Connection Synchronization Daemon" 
"master"
-           $IPVSADM --start-daemon master --mcast-interface $IFACE || FAILURE=1
+           $IPVSADM --start-daemon master --mcast-interface $IFACE --syncid 
$SYNCID || FAILURE=1
            log_progress_msg "backup"
-           $IPVSADM --start-daemon backup --mcast-interface $IFACE || FAILURE=1
+           $IPVSADM --start-daemon backup --mcast-interface $IFACE --syncid 
$SYNCID || FAILURE=1
            if [ "$FAILURE" -eq 1 ]
            then
                log_end_msg 1



-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ipvsadm depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u8
ii  libnl1                 1.1-7
ii  libpopt0               1.16-7
ii  lsb-base               4.1+Debian8+deb7u1

ipvsadm recommends no packages.

Versions of packages ipvsadm suggests:
ii  heartbeat   1:3.0.5-3
pn  keepalived  <none>
ii  ldirectord  1:3.9.2-5+deb7u2

-- Configuration Files:
/etc/default/ipvsadm changed:
AUTO="true"
DAEMON="both"
IFACE="eth1"    
SYNCID="2"


-- debconf information:
  ipvsadm/kernel_does_not_support_ipvs:
  ipvsadm/daemon_multicast_interface: eth0
  ipvsadm/auto_load_rules: false
  ipvsadm/daemon_method: none


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to