[Bug 1912847] Re: ovs-vswitchd should consider lack of DPDK support fatal
Drew Freiberger
1912847 at bugs.launchpad.net
Tue Apr 20 19:44:35 UTC 2021
Here's a reproducer:
juju deploy ubuntu # onto a vm or metal, can't repro with lxd
juju ssh ubuntu/0 sudo apt-get install openvswitch-switch -y
juju ssh ubuntu/0 'sudo ovs-vsctl add-br br0; sudo ovs-vsctl add-port br0 dpdk-p0 -- set Interface dpdk-p0 type=dpdk options:dpdk-devargs=0000:01:00.0'
Error output from the add-port command is:
ovs-vsctl: Error detected while setting up 'dpdk-p0': could not open network device dpdk-p0 (Address family not supported by protocol). See ovs-vswitchd log for details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".
You can then query 'ovs-vsctl show' and see:
Bridge br0
Port dpdk-p0
Interface dpdk-p0
type: dpdk
options: {dpdk-devargs="0000:01:00.0"}
error: "could not open network device dpdk-p0 (Address family not supported by protocol)"
Port br0
Interface br0
type: internal
ovs-vsctl -f csv list Interface | grep 'not supported'
provides a response that could also be alerted on as an active
configuration issue rather than alerting on presence of the log entry.
$ sudo ovs-vsctl -f csv list Interface |grep 'not supported'
556792cf-733a-48fd-aeb1-9423c68e354e,[],{},{},[],[],[],[],[],[],[],[],"""could not open network device dpdk-p0 (Address family not supported by protocol)""",{},[],0,0,[],[],[],[],{},[],[],[],[],dpdk-p0,-1,[],"{dpdk-devargs=""0000:01:00.0""}",{},{},{},dpdk
** Also affects: charm-neutron-openvswitch
Importance: Undecided
Status: New
** Also affects: charm-neutron-gateway
Importance: Undecided
Status: New
** Also affects: charm-ovn-chassis
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1912847
Title:
ovs-vswitchd should consider lack of DPDK support fatal
Status in OpenStack neutron-gateway charm:
New
Status in OpenStack neutron-openvswitch charm:
New
Status in charm-ovn-chassis:
New
Status in openvswitch package in Ubuntu:
New
Bug description:
If ovs-vswitchd without DPDK support is run on a system which requires
it, the following error is logged:
2021-01-14T06:01:54.608Z|00007|dpdk|ERR|DPDK not supported in this
copy of Open vSwitch.
Unfortunately this is not a fatal error and ovs-vswitchd continues on.
It would be much easier from a monitoring and operator ease-of-
diagnosis perspective, if ovs-vswitchd exited after this error
message.
(ovs-vswitchd was running without DPDK support due to LP #1836713)
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-neutron-gateway/+bug/1912847/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list