Ahh, that make sense Martin. Thanks for the guidance.

I've pushed that version up to the merge-proposed branch.

-- 
Don't report persistentconns as activeconns
https://bugs.launchpad.net/bugs/663564
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to ipvsadm in ubuntu.

Status in “ipvsadm” package in Ubuntu: Fix Released
Status in “ipvsadm” source package in Lucid: In Progress
Status in “ipvsadm” package in Debian: New

Bug description:
Binary package hint: ipvsadm

Description:    Ubuntu 10.04.1 LTS
Release:        10.04

ipvsadm:
  Installed: 1:1.25.clean-1
  Candidate: 1:1.25.clean-1
  Version table:
 *** 1:1.25.clean-1 0
        500 http://apt-mirror1.us.archive.org/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

there is "what appears to be a typo in the netlink client code whereby the 
activeconns is read as activeconns and then overwritten by persistentconns. The 
result is that the active connection count reported by ipvsadm -L is wrong if 
the code is compiled to use the netlink interface." (description taken from 
http://archive.linuxvirtualserver.org/html/lvs-devel/2010-02/msg00006.html)

the attached patch is taken from 
https://bugzilla.redhat.com/show_bug.cgi?id=573921 (the same patch as from the 
lvs-devel link but with unmangled whitespace)

== SRU REPORT ==

=== IMPACT ===

This patch is extremely straight forward and only affects the reporting code, 
so risk of crash/security problems are low. If somebody has built a workaround 
for the lack of active connection reporting, or if they have been assuming that 
the number was lower/0, the update reporting accurate numbers may cause some 
confusion, but that should be easy to correlate with the system updates.

=== DEV FIX ===

The code was patched and uploaded to natty in version 1:1.25.clean-1ubuntu1

=== PATCH ===

See merge proposal.

=== TEST CASE: ===

>From redhat bug report:

Steps to Reproduce:
1. Create an IPVS virtual service, something along these lines:
   ipvsadm -A -t this.host.ip:80
   ipvsadm -a -t this.host.ip:80 -r other.host.ip:80 -m
   (and set up the HTTP server on other.host.ip).
2. from different host run "telnet this.host.ip 80"
3. run /sbin/ipvsadm -L

Actual results:
The "ActiveConn" column is zero even though there is an open connection.

Expected results:
The "ActiveConn" column should be greater than zero.

=== REGRESSION POTENTIAL ===

Very low. See IMPACT.



_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to