Node cannot connect: lease is not expired (remaining ticks: 10) #8003
Replies: 1 comment 1 reply
-
These are all info-level message from the embedded etcd instance regarding raft leader election; I don't see anything wrong based on just these messages. Can you attach the complete logs from all three nodes? Node reboots are very common, and I've not heard any reports of nodes failing to come back up after being rebooted, absent some other issue that causes data to be lost or discarded on reboot. When you say that it "fails to rejoin the cluster", what exactly do you mean? It shouldn't be a matter of rejoining (thats term is usually reserved for a node that has been deleted and is joining again) - it should just be a matter of starting up already joined and replaying the raft log from another cluster member. |
Beta Was this translation helpful? Give feedback.
-
Environmental Info:
K3s Version:
k3s version v1.27.3+k3s1 (fe9604c)
go version go1.20.5
Node(s) CPU architecture, OS, and Version:
Linux cameo 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
3 servers
Describe the bug:
Simply rebooted a node after draining. Other nodes show the following error:
The connecting node shows:
There are always 10 ticks remaining, whatever that means.
Steps To Reproduce:
Expected behavior:
Nodes to be able to rebooted and reconnect.
Actual behavior:
Node fails to rejoin cluster.
Additional context / logs:
This can be worked around by forcibly rebooting the leader node.
Beta Was this translation helpful? Give feedback.
All reactions