projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
5.86k stars 1.3k forks source link

calico-node init failed with pod error `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` #8745

Closed chenm0520 closed 4 months ago

chenm0520 commented 4 months ago

I am trying to build a lastest k8s cluster in production environment,following the Official documentation Install using Helm to install calico without values.yaml. After installation,the calico-node pod can't be healthly

Your Environment

cat calico-node's container log, some error log: ` 2024-04-23T01:00:01.370346526+08:00 2024-04-22 17:00:01.367 [ERROR][75] confd/resource.go 318: Error from checkcmd "bird -p -c /etc/calico/confd/config/.bird.cfg2832451251": "bird: /etc/calico/confd/config/.bird.cfg2832451251:6:1 Unable to open included file /etc/calico/confd/config/bird_aggr.cfg: No such file or directory\n"

2024-04-23T01:00:01.370348574+08:00 2024-04-22 17:00:01.367 [INFO][75] confd/resource.go 252: Check failed, but file does not yet exist - create anyway `

It was the last first that I built k8s cluster and I have tried many times,any useful troubleshooting ideas would be helpful, thanks!

chencjcj commented 4 months ago

Hello, I also encountered this problem, have you solved it?

chenm0520 commented 4 months ago

Hello, I also encountered this problem, have you solved it? well,What should I say? I overloaded the system and run the installation script ,then everything is ok,the biggest difference between this time and the previous one maybe the addition of kernel model nf_conntrack(case official document shows nf_conntrack_ipv4,it can't be recognized by the my system's kernel,I removed it),hope this can help you

csthink commented 3 months ago

I also faced this problem, any work around?