[Debian-ha-maintainers] Bug#594958: ldirectord real gate request config doesn't work due to buggy regex

Simon Horman horms at verge.net.au
Tue Aug 31 08:04:39 UTC 2010


tag 594958 +pending
thanks

On Tue, Aug 31, 2010 at 12:31:46AM -0400, Edward Z. Yang wrote:
> Package: ldirectord
> Version: 1:1.0.3-3~bpo50+1
> Severity: important
> Tags: patch
> 
> 
> Our LVS setup uses ldirectord's real configuration option to check
> if servers were alive.
> 
>     real=18.181.0.53 gate "heartbeat/services", "1"
> 
> Upon upgrading to the latest version of ldirectord on lenny-backports,
> we noticed that this code was not working (and we correspondingly did
> not have a primary).
> 
> Debugging the ldirectord process revealed that it was improperly
> making an HTTP request with an invalid host field of 'http'.  Checking
> the source code, we found the following bug in the regex for check_http:

Thanks, I have pushed the change upstream and it should
appear in the next release.

http://hg.linux-ha.org/agents/rev/7200186935f1





More information about the Debian-ha-maintainers mailing list