Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused #9201

Open
emoxam opened this issue Aug 30, 2024 · 1 comment

Comments

@emoxam
Copy link

emoxam commented Aug 30, 2024

I've got cluster
k get nodes

NAME            STATUS     ROLES           AGE     VERSION
kube-master     Ready      control-plane   2y12d   v1.24.4
kube-worker-1   Ready      <none>          2y12d   v1.24.4
kube-worker-2   Ready      <none>          2y12d   v1.24.4

on master node
calicoctl version

Client Version:    v3.23.3
Git commit:        3a3559be1
Cluster Version:   v3.23.3
Cluster Type:      k8s,bgp,kubeadm,kdd

And i want to add a new node
without this command i can't do that ()maybe it is important

kubectl create clusterrolebinding kubeadm:kubelet-bootstrap --clusterrole=system:node-bootstrapper --group=system:bootstrappers:kubeadm:default-node-token

k get clusterrolebinding | grep kubelet-bootstrap

kubeadm:kubelet-bootstrap                              ClusterRole/system:node-bootstrapper                                               30m
kubelet-bootstrap                                      ClusterRole/system:node-bootstrapper                                               2y4d

than i added a new node, approved certificates
kubectl certificate approve csr-hl2bx
so i can see pod logs

but calico-node-w68dv stucked in

Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused

What should i do to fix it? Help me to fix it please.

here's a output of
kubectl logs -n kube-system calico-node-5qjvf
https://pastebin.com/RrbY1rR0

@caseydavenport
Copy link
Member

Cluster Version: v3.23.3

This Calico version is very old and no longer in support. I'd recommend upgrading to a newer Calico + Kubernetes version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants