I thought we determined that Raft in HA doesn't actually get restored
properly. So this is a dangerous workaround. (Raft only auto-restores in
singleton controllers).
On Tue, Apr 6, 2021 at 6:41 AM Joseph Phillips <email address hidden>
wrote:
> This looks like the result of having the leadership pinned during the
> upgrade-series preparations step, then the pinned unit removed.
>
> This would mean that the completion step did not cause the leadership to
> be unpinned from the removed unit (no longer associated with the
> machine), so leadership remains locked to an absent unit.
>
> A work-around if the cloud can withstand the churn is to:
> - Stop the controller machine agents.
> - Delete the contents of /var/lib/juju/raft on each controller.
> - Restart the agents.
>
> This will cause Raft to re-elect new leaders for all applications, but
> it will evict the frozen leader.
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1921336
>
> Title:
> missing unit for leader
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1921336/+subscriptions
>
I thought we determined that Raft in HA doesn't actually get restored
properly. So this is a dangerous workaround. (Raft only auto-restores in
singleton controllers).
On Tue, Apr 6, 2021 at 6:41 AM Joseph Phillips <email address hidden>
wrote:
> This looks like the result of having the leadership pinned during the /bugs.launchpad .net/bugs/ 1921336 /bugs.launchpad .net/juju/ +bug/1921336/ +subscriptions
> upgrade-series preparations step, then the pinned unit removed.
>
> This would mean that the completion step did not cause the leadership to
> be unpinned from the removed unit (no longer associated with the
> machine), so leadership remains locked to an absent unit.
>
> A work-around if the cloud can withstand the churn is to:
> - Stop the controller machine agents.
> - Delete the contents of /var/lib/juju/raft on each controller.
> - Restart the agents.
>
> This will cause Raft to re-elect new leaders for all applications, but
> it will evict the frozen leader.
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> missing unit for leader
>
> To manage notifications about this bug go to:
> https:/
>