-
Notifications
You must be signed in to change notification settings - Fork 591
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
Infinite recursion when setting up Multus (delegates to itself) #1130
Comments
Am experiencing similar issues, also on k3s (amd64, debian 12). With bitnami/multus-cni helm chart (that installs multus 4.0.2). And primary CNI being Cilium. Here's a quick summary of what I observed:
|
I was able to come up with a patch that fixes this (by refusing to delegate to another Multus configuration). I'll clean it up and send it as a PR in the next day or two. |
Hi @werdnum I have the same problem With bitnami/multus-cni helm chart (that installs multus 4.0.2) when installing to k8s 1.27.3. Will this PR go to |
Check masterConfigPath file and skip if it is multus generated files. Fix k8snetworkplumbingwg#1130
Check masterConfigPath file and skip if it is multus generated files. Fix k8snetworkplumbingwg#1130
Trying to install on an arm64 k3s cluster.
Looks like maybe this part of
thin_entrypoint
should be skipping to the next entry if the first one is Multus?https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/cmd/thin_entrypoint/main.go#L302-L316
What happened:
Server crashes because of a Multus forkbomb.
Examining the
00-multus.conflist
file, I see that Multus is delegating to itself: https://gist.github.com/werdnum/de21d625ae7c4428ed55914e8da9ef0eWhat you expected to happen:
Should delegate to the first non-Multus CNI instead of to itself
How to reproduce it (as minimally and precisely as possible):
Install this on a k3s cluster, label one of the nodes with
network-implementation: multus
https://gist.github.com/werdnum/9f36b4084f39924b74d27824ee410966Anything else we need to know?:
Environment:
sha256:35accc0395c03a8f0706304d79d670602debf4b31228f9da76b8e415c0523387
https://github.com/k8snetworkplumbingwg/multus-cni/pkgs/container/multus-cni/112115274?tag=snapshot
kubectl version
):Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:51:05Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3+k3s1", GitCommit:"fe9604cac119216e67f8bd5f14eb5608e3bcd3cf", GitTreeState:"clean", BuildDate:"2023-06-26T15:36:47Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"linux/arm64"}
Flannel
Ubuntu 22.04
Empty
kubectl get net-attach-def -o yaml
)N/A
kubectl get pod <podname> -o yaml
)N/A
Logs from
kube-multus-ds
pod: https://gist.github.com/werdnum/dea719c11d9d9c9297d38b9c544fb0e6The text was updated successfully, but these errors were encountered: