-
My cluster never seems to agree on a leader. The bedroom thinks it's the lead of a 3 instance cluster. The study things it's the lead of a 3 instance cluster. And the living room thinks it's in an anarchist cluster of 3 instances where there is no leader. I've tried everything I can think of to make this work to no avail. Here's my ansible config:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Three and a half months later, still having this problem. Really wonder if anyone monitors this place at all. |
Beta Was this translation helpful? Give feedback.
-
@lorenzothurman thanks for the suggestions. One of those two things seems to have helped. Not sure you have to set the ones you don't want leading to 1, but whatever. One of my nodes was still reporting none, but restarting the cluster leader seemed to fix that. I don't know how long this will really last, as it seems like the cluster leader stuff seems super fragile. Since Lorenz replied to the thread, it looks like I can't mark his suggestion as the solution, so I'm marking this as the solution, but here's a reference to the actual solution: #1272 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
Setting things to 1 and restarting the preferred leader was a bit of sanity check. That should give you what you want. At least, this is my experience. You can try assigning higher weights to the other nodes, but restart your preferred leader last and see what happens. "My Break-Dancing days are over, but there's always the Funky Chicken" -- The Full MontyOn Feb 12, 2023, at 5:48 AM, Kyle Johnson ***@***.***> wrote:
@lorenzothurman thanks for the suggestions. One of those two things seems to have helped. Not sure you have to set the ones you don't want leading to 1, but whatever. One of my nodes was still reporting none, but restarting the cluster leader seemed to fix that. I don't know how long this will really last, as it seems like the cluster leader stuff seems super fragile.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Has this solution lasted for you @pkscout? I have a rogue node that just won't select anything other than itself as cluster leader. Other three nodes are fine. |
Beta Was this translation helpful? Give feedback.
@lorenzothurman thanks for the suggestions. One of those two things seems to have helped. Not sure you have to set the ones you don't want leading to 1, but whatever. One of my nodes was still reporting none, but restarting the cluster leader seemed to fix that. I don't know how long this will really last, as it seems like the cluster leader stuff seems super fragile.
Since Lorenz replied to the thread, it looks like I can't mark his suggestion as the solution, so I'm marking this as the solution, but here's a reference to the actual solution: #1272 (reply in thread)