Bug #1063
closedLoad balancer status doesn't work if the virtual server name contains a '.'
100%
Description
Hi,
I've spent a while trying to work out why a test load balancer config I created seemed to be working fine, but have a status that suggested it wasn't working. The load balancer logs suggested relayd was running, backend nodes were being checks and add into the table once the checks succeeded. I confirmed that relayd was actually running using the shell.
However, whenever I visited the virtual servers tab on the load balancer status page, in the status column, it displays: 'Unknown - relayd not running?'.
It turns out that I had created a virtual server with a name containing a '.' (a period, a full stop, whatever you want to call it).
As soon as I changed the name to something not containing the '.', the status page resumed working again. It seems that a '.' in the name is valid within relayd's config else presumably the load balancing wouldn't have worked at all?
I assume the status page does some sort of regex matching against the log file, or something like that? And presumably this matching isn't working correctly with '.'s?
Files