Skip to content

with error: clusterinformations.crd.projectcalico.org "default" not found #10166

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

Closed
waymen opened this issue Apr 8, 2025 · 2 comments
Closed

Comments

@waymen
Copy link

waymen commented Apr 8, 2025

​Environment​​:

  • Kubernetes version: v1.30.11
  • Container runtime: containerd v1.6.28
  • Calico version: v3.29.3
  • Operating System: [centos8]

install

 kubectl app -f https://raw.githubusercontent.com/projectcalico/calico/v3.29.3/manifests/calico.yaml
# kubectl -n kube-system get pod | grep calico
calico-kube-controllers-59d9f49d9b-fgln6   0/1     ContainerCreating   0              37m
calico-node-855tj                          0/1     CrashLoopBackOff    12 (77s ago)   37m
calico-node-g7rvl                          0/1     CrashLoopBackOff    12 (19s ago)   37m
kubectl -n kube-system describe pod calico-kube-controllers-59d9f49d9b-fgln6
# kubectl -n kube-system describe pod calico-kube-controllers-59d9f49d9b-fgln6 
Events:
  Type     Reason                  Age                    From               Message
  ----     ------                  ----                   ----               -------
  Normal   Scheduled               39m                    default-scheduler  Successfully assigned kube-system/calico-kube-controllers-59d9f49d9b-fgln6 to k8s-master-02
  Warning  FailedCreatePodSandBox  39m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "6e11a3643ea5af99e10ec02111105ae717dceb52ac837218ea58c1b355cb7f57": plugin type="calico" failed (add): stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
  Warning  FailedCreatePodSandBox  36m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "7d2ccdc8c7b362c82aaba9124efab5da8a05a07d15af2e1dda1ba15bb51468a4": plugin type="calico" failed (add): error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
  Warning  FailedCreatePodSandBox  36m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "1576994f9e7f5afd7b67e315a91d5f7a7143593b705a57eccd3826f3b25e0ec5": plugin type="calico" failed (add): error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
  Warning  FailedCreatePodSandBox  36m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "38580512e10037fb9ff48173929db7d5524cb348680c5756d5647c807fcbdfa7": plugin type="calico" failed (add): error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
  Warning  FailedCreatePodSandBox  36m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "bfdd96c12dec77126796b4cca22d1e04041d1886ffa35875b32172a7d4999759": plugin type="calico" failed (add): error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
  Warning  FailedCreatePodSandBox  35m                    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "ac8ea8f78f586be2768b97d7c6b2a6983822bffa42875e38b8d7df2731c0ff57": plugin type="calico" failed (add): error getting ClusterInformation: resource does not exist: ClusterInformation(default) with error: clusterinformations.crd.projectcalico.org "default" not found
  Normal   SandboxChanged          4m50s (x157 over 39m)  kubelet            Pod sandbox changed, it will be kil
@waymen waymen changed the title 大幅度发 with error: clusterinformations.crd.projectcalico.org "default" not found Apr 8, 2025
@tomastigera
Copy link
Contributor

Calico node is crashing too. Could you provide calico-node logs?

@tomastigera
Copy link
Contributor

Closing due to inactivity

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