K3s Service stuck at activating on nodes #29
-
k3s-node.service does not start and is stuck on activating. Expected Behaviork3s-node.server should be running on nodes. Current Behavior`TASK [k3s/master : Create crictl symlink] ******************************************************************************changed: [us-ga-cluster-02] PLAY [node] ************************************************************************************************************ TASK [k3s/node : Copy K3s service file] ********************************************************************************changed: [us-ga-worker-01] TASK [k3s/node : Enable and check K3s service] *************************************************************************` `ubuntu@us-ga-worker-01:~$ sudo systemctl status k3s-node.service May 20 15:49:17 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:17-04:00" level=info msg="Starting k3s agent v1.23.6+k3s1 (418c3fa8)" Steps to Reproduce
Context (variables)Operating system: Variables Used:
Hosts
[master]
us-ga-cluster-01
us-ga-cluster-02
us-ga-cluster-03
[node]
us-ga-worker-01
us-ga-worker-02
[k3s_cluster:children]
master
node Possible Solution |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 7 replies
-
vip is not reachable so i am thinking if that's the issue. |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same issue here, what if we only have one master? Do we need to specify the apiserver_endpoint same as the master IP? Kindly clarify. |
Beta Was this translation helpful? Give feedback.
-
Hi. This is an issue with k3s/kube-vip. I would use the version in the template. It will always be the latest tested version
|
Beta Was this translation helpful? Give feedback.
-
Tried v1.23.4+k3s1, same issue. The VIP is not responding. Status on node = activating running the playbook with -vvv
|
Beta Was this translation helpful? Give feedback.
-
Please see this #20 |
Beta Was this translation helpful? Give feedback.
-
I wonder if the VIP problem is related to the interface type set in Which leads to to believe that its failing at creating the network interface for flannel. Should i modify the interface in the yml file to |
Beta Was this translation helpful? Give feedback.
-
My hunch was correct! everything is working now! |
Beta Was this translation helpful? Give feedback.
-
I'm having a similar issue where the playbook stops at the same step as the thread title. The only difference though is that I am attempting to run this against LXC containers rather than VMs - would this cause any issues? |
Beta Was this translation helpful? Give feedback.
-
I'm running into this issue too:
It looks like the master's are running and I can ping the VIP. Any hints on where to turn next? The master nodes
|
Beta Was this translation helpful? Give feedback.
Hi. This is an issue with k3s/kube-vip. I would use the version in the template. It will always be the latest tested version
v1.23.4+k3s1