networkop / meshnet-cni

a (K8s) CNI plugin to create arbitrary virtual network topologies
BSD 3-Clause "New" or "Revised" License
116 stars 27 forks source link

v0.4.0 causes core dump in kind cluster pods #31

Closed Cerebus closed 1 year ago

Cerebus commented 2 years ago

30 resolves the deploy issue, but this started happening on kind:

~/projects/mimesis/scratch/topo controller ^
mimesis > kubectl get pods
NAME    READY   STATUS    RESTARTS   AGE
test    1/1     Running   0          4s
test2   1/1     Running   0          4s

~/projects/mimesis/scratch/topo controller ^
mimesis > kubectl exec test -- ip link 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: eth0@if27: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether 62:45:9e:05:0c:a9 brd ff:ff:ff:ff:ff:ff
29: eth1@if30: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether c6:a8:2d:49:2b:ec brd ff:ff:ff:ff:ff:ff

~/projects/mimesis/scratch/topo controller ^
mimesis > kubectl exec test2 -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: eth0@if28: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether 2e:7f:61:75:cb:64 brd ff:ff:ff:ff:ff:ff
30: eth1@if29: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default 
    link/ether 82:6b:fc:f4:42:e3 brd ff:ff:ff:ff:ff:ff

~/projects/mimesis/scratch/topo controller ^
mimesis > kubectl exec test2 -- ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
command terminated with exit code 139

ifconfig executes properly and this doesn't seem to affect functionality (though I haven't tested w/ my tc sidecar yet).

networkop commented 2 years ago

Hi @Cerebus , I didn't fully understand what's the issue. Is the issue with ip addr command? Do you have steps to reproduce this?

Cerebus commented 1 year ago

Closing as OBE since I'm not using kind any more.