Hi Matteo, > Once the activity on the underlying service has been completed and they > are starting up, I switch back from MAINT to READY (without waiting the > service to be really up). > The haproxy backend got immediately back in the roundrobin pool, even if > the L4 and L7 checks are still validating that the underlying service is > still DOWN (service is still starting, could take time).
I would wait for others to confirm or infirm, but meanwhile the situation you described makes me think of an issue that was revived on Github a few weeks ago: https://github.com/haproxy/haproxy/issues/51 (server assumed UP when leaving MAINT before the checks are performed) Regards, Aurelien