This is interesting since the bug was fixed in 1.6-dev2.

https://github.com/haproxy/haproxy/commit/4cd477f3721f6a3fe7cf55ae729388bf7f279331

There are two curious conditions in the code:

if (s->admin & SRV_ADMF_MAINT)
    return;

if (s->state == SRV_ST_STARTING || s->state == SRV_ST_RUNNING)
    return;

Basically, if the server is in maintenance mode or is still starting, it
bails out. But that should preclude the UP logging you see. Can you
confirm the server in question isn't in maintenance mode? I might try to
reproduce this with gdb running to debug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1582708

Title:
  HAproxy 1.6.3 mail alerts on DOWN but not UP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1582708/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to