Bug 573921 - ipvsadm-1.25 reports 0 active connections
Summary: ipvsadm-1.25 reports 0 active connections
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipvsadm
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-16 07:47 UTC by Jan "Yenya" Kasprzak
Modified: 2010-05-03 16:13 UTC (History)
2 users (show)

Fixed In Version: ipvsadm-1.25-5.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-30 23:38:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for this bug (682 bytes, patch)
2010-03-17 09:09 UTC, Jan "Yenya" Kasprzak
no flags Details | Diff

Description Jan "Yenya" Kasprzak 2010-03-16 07:47:00 UTC
Description of problem:

"ipvsadm -L" reports always zeros in the "ActiveConn" column.

Version-Release number of selected component (if applicable):
ipvsadm-1.25-4.x86_64

How reproducible:
100%

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.


Additional info:
The ipvsadm binary from the ipvsadm-1.24-8.1.x86_64 Fedora 7 package reports the correct number of active connections on the same system (I have just replaced the /sbin/ipvsadm binary with the older one). So the problem is in the ipvsadm binary, not in the kernel.

Comment 1 Jan "Yenya" Kasprzak 2010-03-17 09:09:58 UTC
Created attachment 400696 [details]
Patch for this bug

There is a patch in the ipvsadm-devel list:

http://archive.linuxvirtualserver.org/html/lvs-devel/2010-02/msg00006.html

(the web archive mangles whitespace, so I am attaching the clean patch here as well). I have rebuilt the ipvsadm package from src.rpm + this patch, and verified that it fixes the problem. Please include the patch in the official distribution.

Comment 2 Matthias Saou 2010-04-29 14:50:28 UTC
Good catch! Thanks a lot for the report.

Comment 3 Fedora Update System 2010-04-29 15:15:07 UTC
ipvsadm-1.25-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ipvsadm-1.25-5.fc12

Comment 4 Fedora Update System 2010-04-29 15:15:12 UTC
ipvsadm-1.25-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/ipvsadm-1.25-5.fc11

Comment 5 Fedora Update System 2010-04-29 15:15:16 UTC
ipvsadm-1.25-5.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ipvsadm-1.25-5.fc13

Comment 6 Fedora Update System 2010-04-30 23:38:41 UTC
ipvsadm-1.25-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-05-03 16:00:40 UTC
ipvsadm-1.25-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-05-03 16:13:30 UTC
ipvsadm-1.25-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.