billions-easter-91774
06/16/2022, 7:17 PM"/health error","output":"{\"health\":\"false\",\"reason\":\"RAFT NO LEADER\"}","status-code":503}
When i try to debug containerd/container with ctr or crictrl i always get that there is no containerd.sock (i can only find
containerd.sock.ttrpc
There was a weird issue on 2 ctrl planes: something about not enough filedescriptors. Unfortuna i was not able to see who tried to open too many files, but i'im not sure if this is not more of an containerd issue who starts 2 etcd container constantly
My google and debug magic is gone. Any ideas/suggestions?rapid-helmet-86074
06/16/2022, 7:20 PM/run/k3s/containerd/containerd.sock
exist? Have you poked around with any of the other commands from https://gist.github.com/superseb/3b78f47989e0dbc1295486c186e944bf ?billions-easter-91774
06/16/2022, 7:22 PMrapid-helmet-86074
06/16/2022, 7:22 PMbillions-easter-91774
06/16/2022, 7:30 PM/var/lib/rancher/rke2/bin/crictl --runtime-endpoint unix:///run/k3s/containerd/containerd.sock ps -a
FATA[0009] connect: connect endpoint 'unix:///run/k3s/containerd/containerd.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded
rapid-helmet-86074
06/16/2022, 7:31 PM/var/lib/rancher/rke2/bin/crictl --config /var/lib/rancher/rke2/agent/etc/crictl.yaml ps
ctr
but I used the config with crictl
. Both worked fine for me.billions-easter-91774
06/16/2022, 7:41 PM