cluster-reset stuck in infinite loop #7877
Replies: 3 comments 2 replies
-
I've not seen this before. Can you attach the complete k3s service log, as well as the full output of the Also, what is |
Beta Was this translation helpful? Give feedback.
-
Sadly, the logs are lost to the sands of time. That IP would be itself, trying to connect to itself. I ran into this twice "experimenting" with a lost quorum/network split over dozens of iterations. Part of this experiment was having etcd listening on multiple interfaces and forcing a network split on one of the routes. Etcd/k3s was able to resolve the fallback routes just fine. However, even after adding a Dunno if that is a k3s or etcd thing, or if it is even a bug. But that's the context of these logs. |
Beta Was this translation helpful? Give feedback.
-
etcd uses the node's primary IP address as its endpoint. Each node has an identifier and a fixed ip-based endpoint, and those must remain static through the node's life in the etcd cluster. If the address changes, the node needs to be deleted and re-added to the cluster, or the cluster needs to be reset to a single node with the current address, and the members re-added. |
Beta Was this translation helpful? Give feedback.
-
Environmental Info:
K3s Version:
k3s version v1.26.6+k3s1 (3b1919b)
go version go1.19.10
Node(s) CPU architecture, OS, and Version:
Linux cantor 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/agents (now 1? server)
Describe the bug:
Performed
k3s server --cluster-reset
, now stuck with the following loop during reset:Steps To Reproduce:
Unknown... worked fine everytime previously.
Simply run:
k3s server --cluster-reset
and it will hang with the above logs.Expected behavior:
To not be stuck in an infinite loop
Actual behavior:
Stuck in an infinite loop
Additional context / logs:
Beta Was this translation helpful? Give feedback.
All reactions