Skip to content
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

Fail in testing with vpp docker image and cni #35

Open
ylhsiehitri opened this issue Dec 3, 2019 · 0 comments
Open

Fail in testing with vpp docker image and cni #35

ylhsiehitri opened this issue Dec 3, 2019 · 0 comments

Comments

@ylhsiehitri
Copy link

ylhsiehitri commented Dec 3, 2019

Hello,

I followed the instructions in https://github.com/intel/userspace-cni-network-plugin/blob/master/README.md#testing-with-vpp-docker-image-and-cni,
but failed in exec-plugins.sh when it tried to execute /opt/cni/bin/userspace < /etc/cni/net.d/90-userspace.conf. The output error is as below.
(the exec-plugins.sh is called in the usrsp-docker-run.sh that is called in the instructions above)

2019-12-03T10:00:05Z [error] GetPod: No kubeClient: <nil>
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xe9a9d7]

goroutine 1 [running, locked to thread]:
github.com/intel/userspace-cni-network-plugin/pkg/annotations.GetPodVolumeMountHostSharedDir(0x0, 0x0, 0x0, 0x0, 0x0)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/pkg/annotations/annotations.go:66 +0x47
main.getPodAndSharedDir(0xc00033a500, 0xc00030bc70, 0x0, 0x0, 0x4, 0x0, 0xf3b8a0, 0xc000353b10, 0x16, 0x0, ...)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/userspace/userspace.go:125 +0x7b1
main.cmdDel(0xc00030bc70, 0x0, 0x0, 0x0, 0x0, 0x5, 0x0)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/userspace/userspace.go:332 +0x333
main.main.func3(0xc00030bc70, 0xc000047650, 0x5)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/userspace/userspace.go:438 +0x38
github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc000133e90, 0xc00030bc70, 0x1223880, 0xc000354c60, 0x116d440, 0x0, 0xc000133dd8)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:185 +0x185
github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc000133e90, 0x116d430, 0x116d438, 0x116d440, 0x1223880, 0xc000354c60, 0x1114a82, 0x2d, 0xbc443e07e59604e1)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:251 +0x33e
github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0x116d430, 0x116d438, 0x116d440, 0x1223880, 0xc000354c60, 0x1114a82, 0x2d, 0xc000133f48)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:286 +0x110
github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel.PluginMain(0x116d430, 0x116d438, 0x116d440, 0x1223880, 0xc000354c60, 0x1114a82, 0x2d)
        /root/go/src/github.com/intel/userspace-cni-network-plugin/vendor/github.com/containernetworking/cni/pkg/skel/skel.go:301 +0x7a
main.main()
        /root/go/src/github.com/intel/userspace-cni-network-plugin/userspace/userspace.go:430 +0x72

ps. I have docker and K8s installed.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant