Open oliviabarrick opened 6 years ago
It seems like they don't implement /proc/sys/net: https://github.com/google/gvisor/blob/master/pkg/sentry/fs/proc/README.md
@justinbarrick Thanks for trying to run Weave Net with gVisor and opening the issue.
/proc/sys/net
is used by https://github.com/weaveworks/weave/blob/master/net/arp.go#L13. Weave Net can function without configuring the ARP cache params, but currently there is no flag to disable it.
You could try to comment out the body of the function and create the relevant Weave Net images by running make
.
I just ran into this with runsc and crio.
I tried figuring this out and ran into a different issue.
This call to netns.GetFromPath
returns "no such file or directory" for (eg) "/proc/24020/ns/net"
https://github.com/weaveworks/weave/blob/0c4659c3/net/veth.go#L115
Is it possible to hook into the namespace created by the gvisor container if it's not present on the host?
I'm trying to run Weave with gVisor as the runtime and it seems to break weave net:
Any ideas how to work around this?
All pods in my cluster are able to start unless they are run using gVisor by adding the annotation: