Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425082 - sys-cluster/keepalived does not flush removed real address after reload kill -HUP
Summary: sys-cluster/keepalived does not flush removed real address after reload kill ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-06 17:26 UTC by Ruslan Lutsenko
Modified: 2012-07-11 09:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Lutsenko 2012-07-06 17:26:01 UTC
It seem I hit same bug as on https://bugzilla.redhat.com/show_bug.cgi?id=768119

Description of problem:

Removing a real server from a virtual server in keepalived.conf and then reloading (eg. service keepalived reload) does not remove that real server from ipvs tables.

keepalived --version
Keepalived v1.2.2 (06/25,2012)

sys-cluster/keepalived-1.2.2-r3  

Linux SMP Mon Jan 30 16:27:06 CET 2012 x86_64 Intel(R) Xeon(R) CPU X5660 @ 2.80GHz GenuineIntel GNU/Linux


#ipvsadm -ln |grep 10.2.36.1
  -> 10.2.36.1:80                 Tunnel  113    108        2986      
# kill -HUP 9723
# ipvsadm -ln |grep 10.2.36.1
  -> 10.2.36.1:80                 Tunnel  113    106        2987      


keepalived-1.2.2/keepalived/include/check_data.h


patch can be downloaded here https://bugzilla.redhat.com/attachment.cgi?id=547465&action=edit
Comment 1 Ruslan Lutsenko 2012-07-09 09:35:13 UTC
I've tested patched keepalived this morning - and seem it fixed the issue, please add it to official ebuild
Comment 2 Ultrabug gentoo-dev 2012-07-11 09:38:46 UTC
Thanks Ruslan for your bug report and patience, it's in tree now.

+*keepalived-1.2.2-r4 (11 Jul 2012)
+
+  11 Jul 2012; Ultrabug <ultrabug@gentoo.org> +keepalived-1.2.2-r4.ebuild,
+  +files/keepalived-1.2.2-fix-ipv4-addr-compare.patch,
+  +files/keepalived-1.2.2-libipvs-fix-backup-daemon.patch,
+  +files/keepalived-1.2.2-libipvs-fix-ipv6.patch:
+  Fix #403133 by Alexander Holler, thanks to Greg for testing. Fix #425082
+  thanks to Ruslan Lutsenko. Add ipv6 USE flag.
+