[Bug 2029474] Re: package openvswitch-switch-dpdk unable to support DPDK mode?
bettswwang
2029474 at bugs.launchpad.net
Tue Aug 8 15:17:15 UTC 2023
the default ovs-vswitchd is package openvswitch-switch,not openvswitch-
switch-dpdk. "update-alternatives --config ovs-vswitchd" choose the dpdk
ovs-vswitchd.
** Changed in: openvswitch (Ubuntu)
Status: New => Invalid
--
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/2029474
Title:
package openvswitch-switch-dpdk unable to support DPDK mode?
Status in openvswitch package in Ubuntu:
Invalid
Bug description:
test the dpdk mode of package openvswitch-switch-dpdk on system
ubuntu20.04. It seems the package don't support this mode. Is it a
bug?
root at ubuntu2004:~# apt install -y openvswitch-switch-dpdk
root at ubuntu2004:~# apt list --installed | grep -i openvswitch
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
openvswitch-common/focal-updates,focal-security,now 2.13.8-0ubuntu1.2 amd64 [installed,automatic]
openvswitch-switch-dpdk/focal-updates,focal-security,now 2.13.8-0ubuntu1.2 amd64 [installed]
openvswitch-switch/focal-updates,focal-security,now 2.13.8-0ubuntu1.2 amd64 [installed,automatic]
python3-openvswitch/focal-updates,focal-security,now 2.13.8-0ubuntu1.2 all [installed,automatic]
root at ubuntu2004:~# cat /etc/default/grub | grep -e iommu
GRUB_CMDLINE_LINUX="iommu=pt intel_iommu=on pci=assign-busses"
root at ubuntu2004:~#export PATH=$PATH:/usr/share/openvswitch/scripts
root at ubuntu2004:~#export DB_SOCK=/var/run/openvswitch/db.sock
root at ubuntu2004:~#ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
root at ubuntu2004:~#ovs-ctl --no-ovsdb-server --db-sock="$DB_SOCK" start
root at ubuntu2004:~# ovs-vsctl get Open_vSwitch . dpdk_initialized
false
root at ubuntu2004:~# tail -f /var/log/openvswitch/ovs-vswitchd.log
2023-08-03T02:52:17.832Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.13.8
2023-08-03T02:56:37.648Z|00007|memory|INFO|13072 kB peak resident set size after 259.8 seconds
2023-08-03T02:56:49.280Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log
2023-08-03T02:56:49.285Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA node 0
2023-08-03T02:56:49.285Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 CPU cores
2023-08-03T02:56:49.285Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
2023-08-03T02:56:49.285Z|00005|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
2023-08-03T02:56:49.288Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.13.8
2023-08-03T03:05:37.297Z|00007|memory|INFO|13072 kB peak resident set size after 528.0 seconds
2023-08-03T03:07:19.274Z|00008|dpdk|ERR|DPDK not supported in this copy of Open vSwitch.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openvswitch-switch-dpdk 2.13.8-0ubuntu1.2
ProcVersionSignature: Ubuntu 5.4.0-155.172-generic 5.4.235
Uname: Linux 5.4.0-155-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Aug 3 10:22:14 2023
InstallationDate: Installed on 2022-10-28 (279 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openvswitch
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/2029474/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list