HomeClusterLabs Projects

High: ldirectord: http: connect to server instead of protocol Debian#594958

Description

High: ldirectord: http: connect to server instead of protocol Debian#594958

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:

See http://bugs.debian.org/#594958

Signed-off-by: Simon Horman <horms@verge.net.au>

Details

Provenance
Edward Z. Yang <ezyang@MIT.EDU>Authored on Aug 31 2010, 4:01 AM
Parents
rRa11d8b98ccaf: Low: Xen: Always run destroy in stop sequence.
Branches
Unknown
Tags
Unknown

Event Timeline