Open BRONSOLO opened 7 months ago
weaver detects/claims pre-existing IPs attached to the weave bridge on node via https://github.com/weaveworks/weave/blob/8c8476381d48820891356497bfcee6337e99a401/prog/weaver/reclaim.go#L26
weaver
weave
weaver stopped using the host process namespace (via hotsPID) as of https://github.com/weaveworks/weave/pull/3876, which was needed for detecting devices via the peer ids / process ids here: https://github.com/weaveworks/weave/blob/8c8476381d48820891356497bfcee6337e99a401/prog/weaver/reclaim.go#L84.
Specifically, given the change of #3876, the following command only detects processes within the PID namespace of the weave-net pod: https://github.com/weaveworks/weave/blob/8c8476381d48820891356497bfcee6337e99a401/prog/weaver/reclaim.go#L79
weave-net
kube-system
This is specifically for weave running on k8s.
k8s
weave version 2.8.1
What you expected to happen?
weaver
detects/claims pre-existing IPs attached to theweave
bridge on node via https://github.com/weaveworks/weave/blob/8c8476381d48820891356497bfcee6337e99a401/prog/weaver/reclaim.go#L26What happened?
weaver
stopped using the host process namespace (via hotsPID) as of https://github.com/weaveworks/weave/pull/3876, which was needed for detecting devices via the peer ids / process ids here: https://github.com/weaveworks/weave/blob/8c8476381d48820891356497bfcee6337e99a401/prog/weaver/reclaim.go#L84.Specifically, given the change of #3876, the following command only detects processes within the PID namespace of the
weave-net
pod: https://github.com/weaveworks/weave/blob/8c8476381d48820891356497bfcee6337e99a401/prog/weaver/reclaim.go#L79How to reproduce it?
weave-net
pod in thekube-system
namespaceweave-net
pod comes back upAnything else we need to know?
This is specifically for
weave
running onk8s
.Versions:
weave version 2.8.1