Package: ipvsadm
Version: 1:1.28-3
Severity: normal

Hi,

I was setting up a failover architecture over keepalived by setting the weight
of a real server very high, and the other very low. Then I noticed keepalived
accepts values greater than 65353 but not ipvsadm.

# ipvsadm --save -n | tee /tmp/tmp.ipvs
-A -t 172.16.29.44:8888 -s wrr
-a -t 172.16.29.44:8888 -r 172.16.29.73:80 -m -w 2147483647
# ipvsadm --clear
# cat /tmp/tmp.ipvs | ipvsadm --restore
illegal weight specified

ipvs kernel module clearly accepts weight up to 2147483647 (INT_MAX).

Greetings,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages ipvsadm depends on:
ii  libc6             2.21-7
ii  libnl-3-200       3.2.27-1
ii  libnl-genl-3-200  3.2.27-1
ii  libpopt0          1.16-10
ii  lsb-base          9.20160110

ipvsadm recommends no packages.

Versions of packages ipvsadm suggests:
pn  heartbeat   <none>
pn  keepalived  <none>
pn  ldirectord  <none>

-- no debconf information

Reply via email to