google / gvisor-containerd-shim

containerd shim for gVisor
https://gvisor.dev
Apache License 2.0
80 stars 28 forks source link

failed to destroy network for sandbox #5

Open ianlewis opened 5 years ago

ianlewis commented 5 years ago

I often see this error in containerd logs and when running crictl to delete a container sandbox. Not sure if it's a shim issue but creating to track.

$ sudo crictl stopp ${SANDBOX_ID}
FATA[0000] stopping the pod sandbox "ecc27974c76b134dd6e1f87593a44b24ffa88e97358b22a9ebe2830bd0fa40b6" failed: rpc error: code = Unknown desc = failed to destroy network for sandbox "ecc27974c76b134dd6e1f87593a44b24ffa88e97358b22a9ebe2830bd0fa40b6": running [/sbin/iptables -t nat -D POSTROUTING -s fe80::88e8:2fff:fe88:eef0/64 -j CNI-ec7c908de84d219cb3afd915 -m comment --comment name: "bridge" id: "ecc27974c76b134dd6e1f87593a44b24ffa88e97358b22a9ebe2830bd0fa40b6" --wait]: exit status 2: iptables v1.6.1: invalid mask `64' specified