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

Calico-node crashing on RKE2 1.28.8 running on ARM64 #5663

Closed
bvankampen opened this issue Apr 3, 2024 · 2 comments
Closed

Calico-node crashing on RKE2 1.28.8 running on ARM64 #5663

bvankampen opened this issue Apr 3, 2024 · 2 comments
Assignees

Comments

@bvankampen
Copy link

Environmental Info:
RKE2 Version:
rke2 version v1.28.8+rke2r1 (42cab2f)
go version go1.21.8 X:boringcrypto

Node(s) CPU architecture, OS, and Version:
Linux pi-5 6.6.17-v8-16k+ #1735 SMP PREEMPT Wed Feb 21 14:45:17 GMT 2024 aarch64 GNU/Linux

Cluster Configuration:
Single Node

Describe the bug:
Calico-node pod crashes, log entry

Defaulted container "calico-node" out of: calico-node, flexvol-driver (init), install-cni (init)
calico-node: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory
Calico node failed to start

Steps To Reproduce:
Install RKE2 v1.28.8 on a ARM64 node.

Additional context / logs:
Probably upstream issue projectcalico/calico#8407 fixed in v3.27.3 RKE2 is using docker.io/rancher/mirrored-calico-node:v3.27.2

@manuelbuil
Copy link
Contributor

Yes, the issue you link seems like the most likely cause. We must update to Calico v3.27.3

@fmoral2
Copy link
Contributor

fmoral2 commented Apr 22, 2024

Validated on Version:

-$  rke2 version v1.28.8+dev.0b0069ad (0b0069adc8d228e6ef9b2f14b5e2af5426028f12)


Environment Details

Infrastructure
Cloud EC2 instance

Node(s) CPU architecture, OS, and Version:
Ubuntu
ARM

Cluster Configuration:
-1 node

Steps to validate the fix

  1. start rke2 with calico cni
  2. get logs from calico node
  3. Validate that has no error

Reproduction Issue:

 
 
 
 

Validation Results:

 $ k logs calico-node-bnkh7 -n calico-system | grep "failed to start"
Defaulted container "calico-node" out of: calico-node, flexvol-driver (init), install-cni (init)


$ k get pods -A
NAMESPACE         NAME                                                                  READY   STATUS             RESTARTS         AGE
calico-system     calico-kube-controllers-5f6cc89c65-hnwxq                              1/1     Running            0                30m
calico-system     calico-node-bnkh7                                                     1/1     Running            0                30m
calico-system     calico-node-df5f9                                                     1/1     Running            0                28m
calico-system     calico-typha-5c6bb69956-t5bbh                                         1/1     Running            0                30m

$ k get nodes 
NAME                                         STATUS   ROLES                       AGE   VERSION
ip-1 .us-east-2.compute.internal   Ready    control-plane,etcd,master   32m   v1.28.8+rke2r1
ip-1 .us-east-2.compute.internal   Ready    <none>                      29m   v1.28.8+rke2r1


@fmoral2 fmoral2 closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants