CNI plugins are 2y old.

Bug #1945876 reported by Hans van den Bogert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Kubernetes Worker Charm
New
Undecided
Unassigned

Bug Description

Trying to use the tuning plugin through multus, I got the following stacktrace:

```
 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "1b7390afe260ffc6d0ead0b76c058f07f00527e6fb28dea4508178ae9bd1fd3e": [default/router:ip-forward]: error adding container to network "ip-forward": netplugin failed: "panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x4e82ea]

goroutine 1 [running]:
github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/types/current.(*Result).GetAsVersion(0x0, 0xc000016708, 0x5, 0x0, 0x515d80, 0xc0000129a0, 0x559458)
\t/cni/gopath/src/github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/types/current/types.go:200 +0x4a
github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/types.PrintResult(0x559280, 0x0, 0xc000016708, 0x5, 0x0, 0x0)
\t/cni/gopath/src/github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/types/types.go:100 +0x49
main.cmdAdd(0xc00010e000, 0xc0000162f0, 0x5)
\t/cni/gopath/src/github.com/containernetworking/plugins/plugins/meta/tuning/tuning.go:99 +0x10c
github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc000115f08, 0xc00010e000, 0x5588e0, 0xc00006e570, 0x5393c0, 0x0, 0xc000043eb0)
\t/cni/gopath/src/github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:162 +0x218
github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc000043f08, 0x5393c0, 0x5393c8, 0x5588e0, 0xc00006e570, 0xc00006e5d0)
\t/cni/gopath/src/github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:173 +0x2a5
github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel.PluginMainWithError(...)
\t/cni/gopath/src/github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:210
github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel.PluginMain(0x5393c0, 0x5393c8, 0x5588e0, 0xc00006e570)
\t/cni/gopath/src/github.com/containernetworking/plugins/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:222 +0xdb
main.main()
\t/cni/gopath/src/github.com/containernetworking/plugins/plugins/meta/tuning/tuning.go:110 +0x51

```

By bruteforce matching this to a version in the CNI repo, I figured this is from the 0.7 branch, that 's over 2 years old.

Posting my above problem, the sandbox error, here or upstream seems futile, until CDK incorporates the latest CNI binaries. As such the title of the "bug" is chosen to represent the shear fact that the current binaries are over 2y old.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.