Comment 16 for bug 1849901

Revision history for this message
John A Meinel (jameinel) wrote :

According to this:
octavia/2 /etc/haproxy/haproxy.cfg:

backend octavia-api_admin_10.246.65.140
  balance leastconn
  server octavia-2 10.246.65.140:9866 check
  server octavia-0 10.246.65.169:9866 check
  server octavia-1 None:9866 check
  server octavia-3 10.246.65.110:9866 check

vs
octavia/0 - just right
backend octavia-api_admin_10.246.65.169
    balance leastconn
    server octavia-0 10.246.65.169:9866 check
    server octavia-2 10.246.65.140:9866 check
    server octavia-3 10.246.65.110:9866 check

And the original statement:
A server was taken down for maintenance. It's old units were removed from the juju model. Then re-added when the host was back in commission.

It sounds like octavia-1 was removed, and then when the machine was back up, we introduced octavia-3.

Which means the fact that octavia-2 is still thinking about octavia-1 is the problem, as octavia-1 definitely doesn't have an IP address anymore.

Now I don't know why octavia-3 doesn't know about octavia-2
octavia/3 - too few
backend octavia-api_admin_10.246.65.110
    balance leastconn
    server octavia-3 10.246.65.110:9866 check
    server octavia-0 10.246.65.169:9866 check

Potentially the fact that octavia-2 is still thinking about octavia-1 is causing a problem in the charm, causing it to not respond to relation-joined from octavia-3, so octavia-3 is not then seeing octavia-2. If that were happening, I'd definitely expect to see charms in error state and errors in the Juju unit logs.