-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot remove multiple IP addresses in a single check #30
Comments
Having multiple IPs for a single check is something useful and practical. Could you please share some logs when the problem occurred ? |
I use a single server as an anycast backup for the same service run on multiple addresses (AS path postpending in the peered router makes this server less preferred). |
We run Could you please share some logs where you notice multiple invocation of |
The issue is that I am not running that command multiple times in a few seconds. I am running it multiple times in one second. Sanitized Logs: |
Thanks for the log. For debugging purposes, can you add before https://github.com/unixsurfer/anycast_healthchecker/blob/master/anycast_healthchecker/healthchecker.py#L220
I am curious to see if that makes any difference. Can you also try setting |
This is the BIRD log from that time: This does not just affect the IPv6, it affects any checks after the first two as ordered in the configuration regardless of IP version. I just happened to have the ipv6 check as the third in order in that log. If we are being honest, I have no idea how to implement the debug you have suggested. I did apply splay_startup = 50 (no idea what the units are) and that resolved the issue I was having. |
Actually, it would seem that the splay_startup command has the effect of randomizing failure. Depending on the amount of splay between tests, it can correct the issue or not. |
From the README:
The unit is in seconds, it is a doc bug that we don't mention it:-) At least you now have a workaround. |
Just to add a +1 to allow a single check to impact multiple prefixes - it feels somewhat wasteful chealthchecking the same thing for this |
I have been implementing this project for a while with BIRD2 for a single IPv4 and IPv6 IP address using separate checks.
I have now run into a need to add more addresses.
I have tried using more checks and found that past 2 checks, the program doesn't withdraw and add the route properly.
This seems to be due to the "birdc configure" command being run 3 times in very quick succession as the my anycast-prefixes files do update properly.
I would like to be able to add all of the addresses (I could end up with 12 or more on a single server) to a single check and have it run the birdc configure only once to rectify this but can't seem to figure out how to do this.
The text was updated successfully, but these errors were encountered: