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

when using ovs pod dont bind to sockets #24

Open
dojolabs-ci opened this issue Apr 7, 2019 · 3 comments
Open

when using ovs pod dont bind to sockets #24

dojolabs-ci opened this issue Apr 7, 2019 · 3 comments

Comments

@dojolabs-ci
Copy link

dojolabs-ci commented Apr 7, 2019

Im running with ovs-dpdk and multus,
when launching pods from the examples the /vhu folder is empty..
on the host:

root@dip-edge-dpdk:/opt/userspace-cni-network-plugin# tree /var/lib/cni/vhostuser
/var/lib/cni/vhostuser
├── de6ec0df4f23f3109238186cf70db614e6b9980203d0cb7279922a395d1aefa7
└── e0c0399f331a90ff2e18d73ea774482566a370229fd15ba75715562c2d9e335e

2 directories, 0 files

also the interfaces dont deleted from the ovs itself...

root@dip-edge-dpdk:/opt/userspace-cni-network-plugin# ovs-vsctl show
544b38b1-ba17-43c1-899d-4fae29f506b4
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "f4af47d409a0-net2"
            Interface "f4af47d409a0-net2"
                type: dpdkvhostuser
        Port "1b7f63c32139-net1"
            Interface "1b7f63c32139-net1"
                type: dpdkvhostuser
        Port "0dd265fd7cf8-net1"
            Interface "0dd265fd7cf8-net1"
                type: dpdkvhostuser
        Port "de6ec0df4f23-net1"
            Interface "de6ec0df4f23-net1"
                type: dpdkvhostuser
        Port "f4af47d409a0-net1"
            Interface "f4af47d409a0-net1"
                type: dpdkvhostuser
        Port "e0c0399f331a-net1"
            Interface "e0c0399f331a-net1"
                type: dpdkvhostuser
@dojolabs-ci
Copy link
Author

I manged to solve it, the issue is with wrong socket path and the copy of socket

@wabp2005
Copy link

Hi, I met the same issue, how did you fix it? thanks

@wabp2005
Copy link

I found the socket file not in /var/lib/cni/vhostuser, but in /usr/local/var/run/openvswitch/, so I change the mount folder to /usr/local/var/run/openvswitch/, thus we can see the socket file in vhu folder, but when I run the testpmd demo, no sending and receiving packet statistic, it always 0, this confuse me some days, any one met the same issue?

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

2 participants