Folk,
Stay with me because I am dealing with a very strange issue of
openvswitch with dpdk support. I'm trying to setup high performance
networking with dpdk but somehow when I spin up vm everything goes
great but after vm comes online and within a few seconds ovs switch
process crashes and restart openvswitch-switch. (It doesn't create any
crashdump file also so i am cluess what went wrong)
The VM creates a socket in /var/run/openvswitch/vhuc32c4722-5e but as
soon as openvswitch PID crashes it wipes out the /var/run/openvswitch
directory causing connectivity loss.
Following my openvswitch version
root@ovn-lab-comp-dpdk-1:~# dpkg -l | grep openvswitch
ii openvswitch-common 2.13.3-0ubuntu0.20.04.2
amd64 Open vSwitch common components
ii openvswitch-switch 2.13.3-0ubuntu0.20.04.2
amd64 Open vSwitch switch implementations
ii openvswitch-switch-dpdk 2.13.3-0ubuntu0.20.04.2
amd64 DPDK enabled Open vSwitch switch implementation
ii python3-openvswitch 2.13.3-0ubuntu0.20.04.2
all Python 3 bindings for Open vSwitch
root@ovn-lab-comp-dpdk-1:~# ovs-vsctl list Open_vSwitch
_uuid : 92a7798c-5135-464d-8264-d3193b44a7b3
bridges : [45ee41bc-c8b1-4b30-a703-1f89e7a14f5a,
b5dd1df3-6c42-4665-9986-ccf512dc6732]
cur_cfg : 190
datapath_types : [netdev, system]
datapaths : {}
db_version : "8.2.0"
dpdk_initialized : true
dpdk_version : "DPDK 19.11.7"
external_ids : {hostname=ovn-lab-comp-dpdk-1.example.net,
ovn-bridge-mappings="vlan:br-provider",
ovn-cms-options=enable-chassis-as-gw, ovn-encap-ip="10.63.0.225",
ovn-encap-type="geneve,vxlan", ovn-remote="tcp:10.62.7.252:6642",
rundir="/var/run/openvswitch",
system-id="3482f467-5dd2-4638-ac9b-c49b661dfb3f"}
iface_types : [dpdk, dpdkr, dpdkvhostuser,
dpdkvhostuserclient, erspan, geneve, gre, internal, ip6erspan, ip6gre,
lisp, patch, stt, system, tap, vxlan]
manager_options : [d05e582e-3f2f-4c5a-b72c-8f63c1408655]
next_cfg : 190
other_config : {dpdk-init="true", dpdk-lcore-mask="1010101",
dpdk-socket-mem="1024,0", pmd-cpu-mask="2020202",
userspace-tso-enable=disable, vhost-iommu-support="true"}
ovs_version : "2.13.3"
ssl : []
statistics : {}
system_type : ubuntu
system_version : "20.04"
root@ovn-lab-comp-dpdk-1:~# ovs-vsctl show
92a7798c-5135-464d-8264-d3193b44a7b3
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-provider
datapath_type: netdev
Port dpdk-0
Interface dpdk-0
type: dpdk
options: {dpdk-devargs="0000:06:00.0"}
Port br-provider
Interface br-provider
type: internal
Port patch-provnet-d16df70e-fd3b-4755-9777-5c35b3553002-to-br-int
Interface
patch-provnet-d16df70e-fd3b-4755-9777-5c35b3553002-to-br-int
type: patch
options:
{peer=patch-br-int-to-provnet-d16df70e-fd3b-4755-9777-5c35b3553002}
Bridge br-int
fail_mode: secure
datapath_type: netdev
Port br-int
Interface br-int
type: internal
Port vhuc32c4722-5e
Interface vhuc32c4722-5e
type: dpdkvhostuserclient
options:
{vhost-server-path="/var/run/openvswitch/vhuc32c4722-5e"}
Port ovn-86dafd-0
Interface ovn-86dafd-0
type: geneve
options: {csum="true", key=flow, remote_ip="10.63.0.211"}
bfd_status: {diagnostic="No Diagnostic",
flap_count="0", forwarding="false", remote_diagnostic="No Diagnostic",
remote_state=down, state=down}
Port ovn-661111-0
Interface ovn-661111-0
type: geneve
options: {csum="true", key=flow, remote_ip="10.63.0.214"}
bfd_status: {diagnostic="No Diagnostic",
flap_count="0", forwarding="false", remote_diagnostic="No Diagnostic",
remote_state=down, state=down}
Port tap0d7a2525-70
Interface tap0d7a2525-70
Port ovn-0def34-0
Interface ovn-0def34-0
type: geneve
options: {csum="true", key=flow, remote_ip="10.63.0.213"}
bfd_status: {diagnostic="No Diagnostic",
flap_count="0", forwarding="false", remote_diagnostic="No Diagnostic",
remote_state=down, state=down}
Port patch-br-int-to-provnet-d16df70e-fd3b-4755-9777-5c35b3553002
Interface
patch-br-int-to-provnet-d16df70e-fd3b-4755-9777-5c35b3553002
type: patch
options:
{peer=patch-provnet-d16df70e-fd3b-4755-9777-5c35b3553002-to-br-int}
ovs_version: "2.13.3"
Here is full logs - https://paste.opendev.org/show/809583/
I talked to folks in IRC (imaximets) and he pointed me here but i am
not sure my issue is related that patch or not, how do i confirm if my
issue is related to that patch or not -
http://patchwork.ozlabs.org/project/openvswitch/patch/162548620436.40409.579366497986013480.st...@wsfd-netdev64.ntdv.lab.eng.bos.redhat.com/
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss