Apps stuck on deploy - k3s node not ready,network plugin is not ready

yzflol

Cadet
Joined
Dec 14, 2022
Messages
2
Hello, I recently get an sorry "0/1 nodes are available: 1 node(s) had taint" when i deploy any app and the app is stuck in "deploy"(I have tried nextcloud and traefik in truecharts)
so I did
# k3s kubectl get no NAME STATUS ROLES AGE VERSION ix-truenas NotReady control-plane,master 16h v1.23.5+k3s-fbfa51e5-dirty
then I did k3s describe for detailed informations and get this error
#k3s kubectl describe no ix-truenas ... Ready False Thu, 15 Dec 2022 08:02:06 +0800 Wed, 14 Dec 2022 15:21:14 +0800 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized ...
and my hardware information below
the system is run in a VM in PVE
Memory:32GB
network:
ens16 DHCP 192.168.2.7(UP,connected)
ens17 DHCP 192.168.2.8(UP,connected)
And then I noticed that there are not any file or config in /etc/cni
It seems like a bug and i am no idea to solve it.
Can somebody help me solve it please
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Hello, I recently get an sorry "0/1 nodes are available: 1 node(s) had taint" when i deploy any app and the app is stuck in "deploy"(I have tried nextcloud and traefik in truecharts)
so I did
# k3s kubectl get no NAME STATUS ROLES AGE VERSION ix-truenas NotReady control-plane,master 16h v1.23.5+k3s-fbfa51e5-dirty
then I did k3s describe for detailed informations and get this error
#k3s kubectl describe no ix-truenas ... Ready False Thu, 15 Dec 2022 08:02:06 +0800 Wed, 14 Dec 2022 15:21:14 +0800 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized ...
and my hardware information below
the system is run in a VM in PVE
Memory:32GB
network:
ens16 DHCP 192.168.2.7(UP,connected)
ens17 DHCP 192.168.2.8(UP,connected)
And then I noticed that there are not any file or config in /etc/cni
It seems like a bug and i am no idea to solve it.
Can somebody help me solve it please
Which version of software?
History.. when did it fail and after what events?
Can you describe your network configuration.... why 2 ports on the same subnet?
 

yzflol

Cadet
Joined
Dec 14, 2022
Messages
2
Which version of software?
History.. when did it fail and after what events?
Can you describe your network configuration.... why 2 ports on the same subnet?
Thanks for your reply
I am using TrueNAS-SCALE-22.02.4, truecharts
The error message randomly appear in app events since it start deploying.
(The events also show “waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator”, the whole event was too old that i can't find them)
The deploying isn't fail but it shows errors in k3s and stuck there.
I am using a dell r620 server and it have 4 NICs.
I configure a passtrough for two of them in PVE.
they are connected to the same router so they were on same subnet.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Do you need both ports?... its unusual and may be causing issues.

I'd suggest moving the 22.12 after removing a port and the seeing what is stable.
 

Zabaron

Cadet
Joined
Sep 17, 2023
Messages
1
Did you ever manage to resolve this? I'm seeing the same error and all of my apps are stuck deploying.
 
Top