Re: [Keepalived-devel] IPVS: No such destination
Status: Beta
Brought to you by:
acassen
|
From: Manon G. <ma...@ma...> - 2006-10-22 21:35:52
|
Hi
I am expiriencing the same problem with verion 1.1.11 on debian.
Is Rubens Patch the way to go or does a later version fix this problem ?
In contrast to Rubens I am using FWMARK
I get this error all the time
Oct 22 08:54:17 lb02 Keepalived_healthcheckers: Changing weight from 244 to =
246 for active service [XXX.XXX.XXX.20:80] of VS [0.0.0.0:0]
Oct 22 08:54:17 lb02 Keepalived_healthcheckers: IPVS: No such destination
Thanks for any hints
Manon
--On 1. September 2006 14:19:17 +0200 Ruben van der Zwan=20
<kee...@m0...> wrote:
> Hi all, again!
>
> I've been looking at the source all afternoon and I've found the error.
> The "drule" variable wasn't set when the weight of a realserver needed
> adjusting.
> The deletion and adding did work (with the right weight), this sort of
> pointed me in the right direction.
>
> I've included a patch for ipvswrapper.c, if somebody could look at this
> (fairly small) adjustment and include it in the CVS this would be great.
>
> Thanks, with kind regards,
> Ruben van der Zwan
>
>
> Ruben van der Zwan wrote:
>> Hi all,
>>
>> I've tried another machine today, Debian Linux with a 2.6.8 kernel.
>> I get the exact same error with this config:
>>
>> global_defs {
>> router_id lb
>> }
>>
>> virtual_server 192.168.1.247 80 {
>> delay_loop 6
>> lb_algo wlc
>> lb_kind DR
>> protocol TCP
>> real_server 192.168.1.10 80 {
>> weight 1
>> MISC_CHECK {
>> misc_path "/root/test.sh"
>> misc_dynamic
>> }
>> }
>> }
>>
>> test.sh simply does a `exit 0` or any other number I put in the script.
>>
>> The messages file:
>>
>> Aug 31 20:11:25 debian Keepalived_healthcheckers: Changing weight from 1
>> to 57 for active service [192.168.1.10:80] of VS [192.168.1.247:80]
>> Aug 31 20:11:25 debian Keepalived_healthcheckers: IPVS: No such
>> destination
>>
>> I've had the same error, on different hardware, different Linux
>> distro's.. the first time I reported this was back in february.
>> Please let me know if somebody could take a look at this problem, if
>> not, I can start looking at other LB/HA software for true
>> "load"balancing. This is something I actually don't want to because
>> keepalived does the rest of the job very nicely :)
>>
>> Thanks for your time!
>> Regards,
>>
>> Ruben van der Zwan
>>
>> Ruben van der Zwan wrote:
>>
>>> Hi developers,
>>>
>>> I still have this error. Picked it up again for another setup, but I
>>> still have the "IPVS: No such destination" errors.
>>> Keepalived version is 1.1.12 and the kernel is Linux lb02
>>> 2.6.17-gentoo-r4 on a Dell PowerEdge SC1425 server.
>>>
>>> Is there anyone who can confirm this?
>>> I did look at the source but my C programming skills aren't sufficient
>>> :)
>>>
>>> With kind regards,
>>> Ruben van der Zwan
>>>
>>>
>>> RupS wrote:
>>>
>>>
>>>> Below a part of the keepalived config file.
>>>>
>>>> virtual_server 123.123.123.123 80 {
>>>> delay_loop 6
>>>> lb_algo wlc
>>>> lb_kind DR
>>>> protocol TCP
>>>>
>>>> real_server 123.123.123.124 80 {
>>>> MISC_CHECK {
>>>> misc_path /tmp/check.pl
>>>> misc_timeout 1
>>>> misc_dynamic
>>>> }
>>>> }
>>>> }
>>>>
>>>>
>>>> /tmp/check.pl:
>>>> # !/usr/bin/perl
>>>>
>>>> exit 100;
>>>>
>>>> Every once or twice the weight gets adjusted correctly:
>>>> Feb 9 16:43:43 loadbalancer2 Keepalived_healthcheckers: Changing
>>>> weight from 248 to 198 for inactive service [123.123.123.124:80] of VS
>>>> [123.123.123.123:80]
>>>>
>>>> Most of the time the weight isn't adjusted and I see the following
>>>> error in the logs:
>>>> Feb 9 16:44:13 loadbalancer2 Keepalived_healthcheckers: IPVS: No such
>>>> destination
>>>>
>>>> It looks like keepalived is able to adjust the weight when (re)adding
>>>> a server to ipvsadm, but is unable to change it?
>>>>
>>>>
>>>> This is not the only problem, I also get A LOT of these errors:
>>>> Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: TCP
>>>> connection to [123.123.123.124:80] failed !!!
>>>> Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: Removing
>>>> service [123.123.123.124:80] from VS [123.123.123.123:80]
>>>> Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: TCP
>>>> connection to [123.123.123.124:80] failed !!!
>>>> Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: Removing
>>>> service [123.123.123.124:80] from VS [123.123.123.123:80]
>>>> Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: TCP
>>>> connection to [123.123.123.124:80] failed !!!
>>>> Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: Removing
>>>> service [123.123.123.124:80] from VS [123.123.123.123:80]
>>>>
>>>> When I run wget in a loop, eg:
>>>> while true; do
>>>> wget --output-document=3D/dev/null http://123.123.123.124/
>>>> done
>>>>
>>>> I don't see a single hickup or a failing connection...
>>>>
>>>> You guys have any idea why keepalived is doing this?
>>>>
>>>> Kernel version: Linux loadbalancer2 2.6.14-gentoo-r5
>>>> Keepalived version: Keepalived v1.1.11 (09/06,2005)
>>>>
>>>>
>>>> --------------
>>>> Moderators: I send this message from a wrong email address first, you
>>>> can ignore the message.
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>>>> files
>>>> for problems? Stop! Download the new AJAX search engine that makes
>>>> searching your log files as easy as surfing the web. DOWNLOAD =
SPLUNK!
>>>> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D12=
16
>>>> 42 _______________________________________________
>>>> Keepalived-devel mailing list
>>>> Kee...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>>>>
>>>>
>>>>
>>> -----------------------------------------------------------------------
>>> -- Using Tomcat but need to do more? Need to support web services,
>>> security? Get stuff done quickly with pre-integrated technology to make
>>> your job easier Download IBM WebSphere Application Server v.1.0.1 based
>>> on Apache Geronimo
>>> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D12=
1642
>>> _______________________________________________
>>> Keepalived-devel mailing list
>>> Kee...@li...
>>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>>>
>>>
>>>
>>
>>
>> =
-------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, =
security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D12=
1642
>> _______________________________________________
>> Keepalived-devel mailing list
>> Kee...@li...
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>>
>>
>
Manon Goo
Dembach Goo Informatik GmbH & Co KG
Rathenauplatz 9
D-50674 K=C3=B6ln
Tel: +49 221 801483 0
Mobil: +49 177 8091974
Fax: +49 221 801483 20
Email: ma...@dg...
|