[ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Anirudh Chanagiri Anirudh.Chanagiri at riverbed.com
Thu Mar 8 16:44:44 UTC 2018


Hi Ian,
We are using libvirt. I just checked by following the steps. But still we are facing the same issue.
Attaching the XML.
Thank you.
Regards
Anirudh
From: "Stokes, Ian" <ian.stokes at intel.com<mailto:ian.stokes at intel.com>>
Date: Thursday, March 8, 2018 at 8:02 PM
To: Anirudh Chanagiri <Anirudh.Chanagiri at riverbed.com<mailto:Anirudh.Chanagiri at riverbed.com>>, "discuss at openvswitch.org<mailto:discuss at openvswitch.org>" <discuss at openvswitch.org<mailto:discuss at openvswitch.org>>
Cc: Pillalamarri Bala Venkata Ramana <Ramana.Pillalamarri at riverbed.com<mailto:Ramana.Pillalamarri at riverbed.com>>, Siddharth Mundle <Siddharth.Mundle at riverbed.com<mailto:Siddharth.Mundle at riverbed.com>>, "Corredor, Alejandro" <alejandro.corredor at intel.com<mailto:alejandro.corredor at intel.com>>
Subject: RE: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Thanks,

I didn’t spot anything out of place in the logs.

Are you using QEMU or Libvirt to start the VM? If Qemu could you share the command used to launch the VM, if it’s libvirt can you confirm you’ve followed the steps for

http://docs.openvswitch.org/en/latest/topics/dpdk/vhost-user/#adding-vhost-user-ports-to-the-guest-libvirt

and share the xml your using for the VM.

Thanks
Ian


From: Anirudh Chanagiri [mailto:Anirudh.Chanagiri at riverbed.com]
Sent: Wednesday, March 7, 2018 6:21 AM
To: Stokes, Ian <ian.stokes at intel.com<mailto:ian.stokes at intel.com>>; discuss at openvswitch.org<mailto:discuss at openvswitch.org>
Cc: Ramana Pillalamarri <Ramana.Pillalamarri at riverbed.com<mailto:Ramana.Pillalamarri at riverbed.com>>; Siddharth Mundle <Siddharth.Mundle at riverbed.com<mailto:Siddharth.Mundle at riverbed.com>>; Corredor, Alejandro <alejandro.corredor at intel.com<mailto:alejandro.corredor at intel.com>>
Subject: Re: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Hi Ian,
Thanks a ton for looking into this.

Yes we still have the issue.
Attached the ovs log,

The QEMU version is
qemu-system-x86_64 --version
QEMU emulator version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.5)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

Also we have put in all the steps we followed to create bridges and port in the attached file dpdk_cmd.
There was a suggestion from someone in the  community to try compiling a stable version from source, we did that but that but ran into some issues with that.

My guess is we are missing some configuration which we are not able to figure out, since we encountered the same problems with different kernel/ DPDK/OVS versions.
That’s why have attached the dpdk_cmd file so that any config related issues could be identified.
Regards
Anirudh


From: "Stokes, Ian" <ian.stokes at intel.com<mailto:ian.stokes at intel.com>>
Date: Tuesday, March 6, 2018 at 6:15 PM
To: Anirudh Chanagiri <Anirudh.Chanagiri at riverbed.com<mailto:Anirudh.Chanagiri at riverbed.com>>, "discuss at openvswitch.org<mailto:discuss at openvswitch.org>" <discuss at openvswitch.org<mailto:discuss at openvswitch.org>>
Cc: Pillalamarri Bala Venkata Ramana <Ramana.Pillalamarri at riverbed.com<mailto:Ramana.Pillalamarri at riverbed.com>>, Siddharth Mundle <Siddharth.Mundle at riverbed.com<mailto:Siddharth.Mundle at riverbed.com>>, "Corredor, Alejandro" <alejandro.corredor at intel.com<mailto:alejandro.corredor at intel.com>>
Subject: RE: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Hi Anirudh,

Is this still an issue for you?

I tried recreating the issue on my own system following your setup steps but I did not encounter any issue, I was able to ping both the OVS bridge and external VMs  using vhostuser.

If this is still an issue could your provide the OVS logs for you system when the problem occurs.

Also the version of QEMU you are using in the host along with any setup steps you perform in the guest would be useful for debugging.

Thanks
Ian


From:ovs-discuss-bounces at openvswitch.org<mailto:ovs-discuss-bounces at openvswitch.org> [mailto:ovs-discuss-bounces at openvswitch.org] On Behalf Of Anirudh Chanagiri
Sent: Thursday, February 22, 2018 5:31 AM
To: bugs at openvswitch.org<mailto:bugs at openvswitch.org>
Cc: Ramana Pillalamarri <Ramana.Pillalamarri at riverbed.com<mailto:Ramana.Pillalamarri at riverbed.com>>; Siddharth Mundle <Siddharth.Mundle at riverbed.com<mailto:Siddharth.Mundle at riverbed.com>>; Corredor, Alejandro <alejandro.corredor at intel.com<mailto:alejandro.corredor at intel.com>>
Subject: [ovs-discuss] Facing issues while using OVS-DPDK based vhostuser interface.

Hello everyone,
We are having some  issues using ovs-dpdk with vhostuser interface,
Seeking your help on the same.

Description of the issue :

Setup Details:
                  1.  Host is  an Ubuntu 17.04.
  2.  We have created an open OVS switch with 2 arms  , one arm of the switch is physical interface which is given to DPDK driver and the the other arm is the dpdkvhostuser interface, which is given to an ubuntu 16.04 VM.
  3.  Inside the Ubuntu VM , we are not running  any DPDK based application.
  4.  We just want to check the connectivity of the guest VM to the outside world using DPDK-OVS

Version details:
1.  Open v switch version.
ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.8.0
2. Guest Ubuntu 16.04,  Kernel version 4.4.0-62-generic
3.  Host  Ubuntu 17.04, Kernel version 4.13.0-32-generic
4. DPDK version 17.05.2



       Problem description:
We are unable to have connectivity to/from the VM  using OVS-DPDK vhostuser interface.

1.  If we assign an ip to the OVS bridge and try pinging it, even that doesn’t work.
2.  If use a tun/tap interface instead of dpdkvhostuser interface the connectivity works fine. So the issue is specific to dpdkvhostuser interface.

Seeking your help to resolve the same.
Attaching the output of some useful commands and a setup diagram.

Regards,
Anirudh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180308/d6941d58/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vm1-dpdk.xml
Type: application/xml
Size: 3347 bytes
Desc: vm1-dpdk.xml
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180308/d6941d58/attachment-0001.wsdl>


More information about the discuss mailing list