One possible root cause may be that if the machine running the unit is
loaded, the time between checking for leadership and the lease expiring
may have passed before the hook gets to write the leadership settings.
It's very unusual that the unit leader changes so often as seen in the
logs. This fact points to a possible load issue because the leader
should only change if the current leader did not to get update its lease
before it expired; if it doesn't that is likely due to load.

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

Title:
  Attempts to write leadership settings when not the leader during
  relation-changed hooks

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot-log-analyser/+bug/1654116/+subscriptions

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

Reply via email to