Bug 1634160
| Summary: | DPDK interfaces cannot be attached to OVS 2.6.1 after reboot | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Andreas Karis <akaris> |
| Component: | driverctl | Assignee: | Timothy Redaelli <tredaelli> |
| Status: | CLOSED ERRATA | QA Contact: | Jean-Tsung Hsiao <jhsiao> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.6 | CC: | ailan, akaris, asoni, atelang, atragler, ctrautma, fleitner, jhsiao, ktraynor, kzhang, lfriedma, qding, rkhan, toneata, tredaelli, yrachman, ysubrama |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | driverctl-0.101-1.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-28 08:01:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I installed a DPDK node in my lab and at least figured out that the overrides are configured on system boot by os-collect-config -> os-net-config. E.g., stopping os-collect-config and unbinding the override breaks this:
~~~
[root@overcloud-compute-0 ~]# driverctl unset-override 0000:04:00.1
[root@overcloud-compute-0 ~]# systemctl disable os-collect-config
[root@overcloud-compute-0 ~]# reboot
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.
Connection to 192.0.2.9 closed by remote host.
Connection to 192.0.2.9 closed.
[stack@undercloud-r430 ~]$ ssh heat-admin.2.9
Last login: Fri Oct 5 22:12:37 2018 from gateway
[heat-admin@overcloud-compute-0 ~]$ sudo -i
[root@overcloud-compute-0 ~]# driverctl list-overrides
driverctl: No overridable devices found. Kernel too old?
[root@overcloud-compute-0 ~]#
~~~
However, *just* disabling os-collect-config does not break this:
~~~
root@overcloud-compute-0 ~]# systemctl disable os-collect-config
Removed symlink /etc/systemd/system/multi-user.target.wants/os-collect-config.service.
[root@overcloud-compute-0 ~]# reboot
Connection to 192.0.2.9 closed by remote host.
Connection to 192.0.2.9 closed.
[stack@undercloud-r430 ~]$ ssh heat-admin.2.9
Last login: Fri Oct 5 22:03:51 2018 from gateway
[heat-admin@overcloud-compute-0 ~]$ sudo -i
[root@overcloud-compute-0 ~]# driverctl list-overrides
0000:04:00.1 vfio-pci
~~~
And here we can see that os-net-config restores the overrides:
~~~
[root@overcloud-compute-0 ~]# driverctl list-overrides
0000:04:00.1 vfio-pci
[root@overcloud-compute-0 ~]# systemctl stop openvswitch
[root@overcloud-compute-0 ~]# driverctl unset-override 0000:04:00.1
[root@overcloud-compute-0 ~]# systemctl start openvswitch
[root@overcloud-compute-0 ~]# driverctl list-overrides
driverctl: No overridable devices found. Kernel too old?
[root@overcloud-compute-0 ~]# os-net-config -c /etc/os-net-config/config.json -d 2>&1 | grep dpdk
[2018/10/05 10:05:04 PM] [DEBUG] network_config JSON: [{'dns_servers': ['192.0.2.1'], 'addresses': [{'ip_netmask': '192.0.2.9/24'}], 'routes': [{'ip_netmask': '169.254.169.254/32', 'next_hop': '192.0.2.1'}, {'default': True, 'next_hop': '192.0.2.1'}], 'use_dhcp': False, 'type': 'interface', 'name': 'em4'}, {'use_dhcp': False, 'type': 'interface', 'name': 'p1p1'}, {'device': 'p1p1', 'type': 'vlan', 'addresses': [{'ip_netmask': '172.16.2.7/24'}], 'vlan_id': 901}, {'device': 'p1p1', 'type': 'vlan', 'addresses': [{'ip_netmask': '172.18.0.21/24'}], 'vlan_id': 903}, {'type': 'interface', 'defroute': False, 'name': 'em1', 'use_dhcp': True}, {'ovs_extra': ['set port br-link tag=902'], 'addresses': [{'ip_netmask': '172.16.0.7/24'}], 'members': [{'type': 'ovs_dpdk_port', 'name': 'dpdk0', 'members': [{'type': 'interface', 'name': 'p1p2'}]}], 'use_dhcp': False, 'type': 'ovs_user_bridge', 'name': 'br-link'}, {'type': 'interface', 'defroute': False, 'name': 'p2p1', 'use_dhcp': False}, {'type': 'interface', 'defroute': False, 'name': 'p2p2', 'use_dhcp': False}]
[2018/10/05 10:05:04 PM] [INFO] adding ovs dpdk port: dpdk0
[2018/10/05 10:05:05 PM] [DEBUG] ovs dpdk port data: # This file is autogenerated by os-net-config
DEVICE=dpdk0
OVS_EXTRA="set Interface $DEVICE options:dpdk-devargs=0000:04:00.1"
DEVICE=dpdk0
OVS_EXTRA="set Interface $DEVICE options:dpdk-devargs=0000:04:00.1"
DEVICE=dpdk0
OVS_EXTRA="set Interface $DEVICE options:dpdk-devargs=0000:04:00.1"
[2018/10/05 10:05:05 PM] [INFO] No changes required for interface: dpdk0
[root@overcloud-compute-0 ~]# driverctl list-overrides
0000:04:00.1 vfio-pci
~~~
I do have the same SElinux denies in my audit.log, this *might* be a red herring ; well or it may be part of the issue, I'm really not sure at the moment:
~~~
[root@overcloud-compute-0 ~]# grep p1p2 /var/log/audit/audit.log
type=SERVICE_START msg=audit(1538516729.695:33): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dhcp-interface@p1p2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
type=AVC msg=audit(1538516730.774:55): avc: denied { read } for pid=1847 comm="NetworkManager" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516730.784:58): avc: denied { read } for pid=1956 comm="dhclient" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516730.784:59): avc: denied { write } for pid=1956 comm="dhclient" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516730.794:60): avc: denied { write } for pid=1956 comm="dhclient" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516764.189:124): avc: denied { unlink } for pid=1847 comm="NetworkManager" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516765.667:131): avc: denied { read } for pid=1847 comm="NetworkManager" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516765.678:132): avc: denied { read } for pid=5116 comm="dhclient" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516765.678:133): avc: denied { write } for pid=5116 comm="dhclient" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516765.972:148): avc: denied { write } for pid=5116 comm="dhclient" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1538516772.281:235): avc: denied { unlink } for pid=1847 comm="NetworkManager" name="dhclient-p1p2.pid" dev="tmpfs" ino=51061 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
~~~
driverctl set-override:
~~~
/usr/local/bin/driverctl
(...)
{
if [ ! -f /sys/$devpath/driver_override ]; then
error "device does not support driver override:" $dev
fi
if [ -n "$drv" ] && [ "$drv" != "none" ]; then
debug "setting driver override for $dev: $drv"
if [ ! -d "/sys/module/$drv" ]; then
debug "loading driver $drv"
/sbin/modprobe -q "$drv" || error "no such module: $drv"
fi
else
debug "unsetting driver override for $dev"
fi
unbind
echo "$drv" > /sys/$devpath/driver_override
if [ "$drv" != "none" ] && [ $probe -ne 0 ]; then
probe_driver
if [ ! -L /sys/$devpath/driver ]; then
error "failed to bind device $dev to driver $drv"
fi
fi
}
(...)
function list_devices()
{
devices=()
for d in /sys/bus/$bus/devices/*; do
if [ -f "$d/driver_override" ]; then
override="$(cat $d/driver_override)"
if [ $1 -eq 1 ] && [ "$override" == "(null)" ]; then
continue
fi
line="$(basename $d)"
devices+=($line)
if [ -n "$2" ]; then
class="$(cat $d/class)"
[ "$2" == "${class:2:2}" ] || continue
fi
if [ -L "$d/driver" ]; then
line+=" $(basename $(readlink $d/driver))"
else
line+=" (none)"
fi
if [ $1 -ne 1 ] && [ "$override" != "(null)" ]; then
line+=" [*]"
fi
if [ $debug -ne 0 ]; then
line+=" ($(udevadm info -q property $d | grep ID_MODEL_FROM_DATABASE | cut -d= -f2))"
fi
echo $line
fi
done
if [ ${#devices[@]} -eq 0 ]; then
error "No overridable devices found. Kernel too old?"
fi
}
(...)
~~~
Let's do a manual bind:
~~~
echo "0000:04:00.1" > /sys/bus/pci/devices/0000:04:00.1/driver/unbind
echo vfio-pci > /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
echo 0000:04:00.1 > /sys/bus/pci/drivers_probe
~~~
Verification:
~~~
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/vfio-pci
[root@overcloud-compute-0 ~]#
~~~
And a manual unbind:
~~~
echo "0000:04:00.1" > /sys/bus/pci/devices/0000:04:00.1/driver/unbind
echo "" > /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
echo 0000:04:00.1 > /sys/bus/pci/drivers_probe
~~~
~~~
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/ixgbe
[root@overcloud-compute-0 ~]# cat /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
(null)
~~~
Now, let's try something - set the override for the next boot, but don't set the override right now:
~~~
[root@overcloud-compute-0 ~]# echo vfio-pci > /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
[root@overcloud-compute-0 ~]# cat /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
vfio-pci
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/ixgbe
[root@overcloud-compute-0 ~]# reboot
Connection to 192.0.2.9 closed by remote host.
Connection to 192.0.2.9 closed.
~~~
This doesn't work:
~~~
[root@overcloud-compute-0 ~]# driverctl list-overrides
driverctl: No overridable devices found. Kernel too old?
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/ixgbe
[root@overcloud-compute-0 ~]# cat /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
(null)
~~~
Let's do a manual bind:
~~~
echo "0000:04:00.1" > /sys/bus/pci/devices/0000:04:00.1/driver/unbind
echo vfio-pci > /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
echo 0000:04:00.1 > /sys/bus/pci/drivers_probe
~~~
Verification:
~~~
[root@overcloud-compute-0 ~]# driverctl list-overrides
0000:04:00.1 vfio-pci
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/vfio-pci
[root@overcloud-compute-0 ~]# dmesg | grep 04:00.1 | tail -n2
[ 228.380969] ixgbe 0000:04:00.1: removed PHC on p1p2
[ 228.470848] ixgbe 0000:04:00.1: complete
[root@overcloud-compute-0 ~]#
~~~
This does *not* save for the next restart:
~~~
[root@overcloud-compute-0 ~]# driverctl list-overrides
driverctl: No overridable devices found. Kernel too old?
[root@overcloud-compute-0 ~]#
~~~
OVerrides are saved with:
~~~
function save_override()
{
debug "saving driver override for $dev"
if [ -n "$drv" ]; then
[ -d $confdir ] || mkdir -p $confdir
echo "$drv" > $confdir/$sddev
else
rm -f $confdir/$sddev
fi
}
~~~
~~~
[root@overcloud-compute-0 ~]# driverctl set-override 0000:04:00.1 vfio-pci
[root@overcloud-compute-0 ~]# cat /etc/driverctl.d/pci-0000\:04\:00.1
vfio-pci
~~~
Let's try to use that config file:
~~~
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/ixgbe
(reverse-i-search)`list-': systemctl ^Cst-units | grep driv
(reverse-i-search)`list-': systemctl ^Cst-units | grep driv
[root@overcloud-compute-0 ~]# driverctl list-overrides
driverctl: No overridable devices found. Kernel too old?
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/ixgbe
[root@overcloud-compute-0 ~]# echo vfio-pci > /etc/driverctl.d/pci-0000\:04\:00.1
[root@overcloud-compute-0 ~]# cat /etc/driverctl.d/pci-0000\:04\:00.1
vfio-pci
[root@overcloud-compute-0 ~]# reboot
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.
Connection to 192.0.2.9 closed by remote host.
Connection to 192.0.2.9 closed.
[stack@undercloud-r430 ~]$
~~~
Here we go, after the reboot:
~~~
[root@overcloud-compute-0 ~]# driverctl list-overrides
0000:04:00.1 vfio-pci
[root@overcloud-compute-0 ~]# readlink /sys/bus/pci/devices/0000:04:00.1/driver
../../../../bus/pci/drivers/vfio-pci
[root@overcloud-compute-0 ~]#
~~~
And here is how the override is loaded:
~~~
[root@overcloud-compute-0 ~]# rpm -ql driverctl
/etc/driverctl.d
/usr/lib/udev/rules.d/05-driverctl.rules
/usr/lib/udev/rules.d/89-vfio-uio.rules
/usr/lib/udev/vfio_name
/usr/sbin/driverctl
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/driverctl-bash-completion.sh
/usr/share/doc/driverctl-0.95
/usr/share/doc/driverctl-0.95/README
/usr/share/doc/driverctl-0.95/TODO
/usr/share/licenses/driverctl-0.95
/usr/share/licenses/driverctl-0.95/COPYING
/usr/share/man/man8/driverctl.8.gz
[root@overcloud-compute-0 ~]# cat /usr/lib/udev/rules.d/05-driverctl.rules
ACTION=="add", TEST=="/etc/driverctl.d/$env{SUBSYSTEM}-$kernel", PROGRAM="/usr/sbin/driverctl load-override $kernel"
[root@overcloud-compute-0 ~]#
~~~
I looked at this again and with Friday's settings, this makes a bit more sense now.
Firstly, this snippet here is relatively old, hence these denies may not be related:
~~~
$ grep enp94s0f0 audit.log
type=SERVICE_START msg=audit(1536304486.553:32): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dhcp-interface@enp94s0f0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
type=AVC msg=audit(1536304487.648:41): avc: denied { read } for pid=2340 comm="NetworkManager" name="dhclient-enp94s0f0.pid" dev="tmpfs" ino=34111 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1536304487.670:50): avc: denied { read } for pid=2445 comm="dhclient" name="dhclient-enp94s0f0.pid" dev="tmpfs" ino=34111 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1536304487.670:51): avc: denied { write } for pid=2445 comm="dhclient" name="dhclient-enp94s0f0.pid" dev="tmpfs" ino=34111 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1536304487.718:67): avc: denied { write } for pid=2445 comm="dhclient" name="dhclient-enp94s0f0.pid" dev="tmpfs" ino=34111 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1536304529.807:188): avc: denied { unlink } for pid=2340 comm="NetworkManager" name="dhclient-enp94s0f0.pid" dev="tmpfs" ino=34111 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
~~~
1536304487 --> https://www.epochconverter.com/
~~~
[batch convert timestamps to human dates]
GMT: Friday, September 7, 2018 7:14:47 AM
Your time zone: Friday, September 7, 2018 3:14:47 AM GMT-04:00 DST
Relative: A month ago
~~~
Secondly, we can now explain these udev issues:
journalctl_--no-pager_--boot:
~~~
Sep 28 06:17:12 ... NetworkManager[1567]: <info> [1538140632.5307] manager: startup complete
Sep 28 06:17:12 ... systemd[1]: Started Network Manager Wait Online.
Sep 28 06:18:07 ... systemd-udevd[1244]: worker [1246] /devices/pci0000:5d/0000:5d:02.0/0000:5e:00.1 is taking a long time
Sep 28 06:18:07 ... systemd-udevd[1244]: worker [1247] /devices/pci0000:85/0000:85:02.0/0000:87:00.0 is taking a long time
Sep 28 06:18:07 ... systemd-udevd[1244]: worker [1249] /devices/pci0000:85/0000:85:02.0/0000:87:00.1 is taking a long time
Sep 28 06:18:07 ... systemd-udevd[1244]: worker [1254] /devices/pci0000:ae/0000:ae:00.0/0000:af:00.0 is taking a long time
Sep 28 06:18:07 ... systemd-udevd[1244]: worker [1257] /devices/pci0000:5d/0000:5d:02.0/0000:5e:00.0 is taking a long time
~~~
~~~
[root@...1 ~]# cat /usr/lib/udev/rules.d/05-driverctl.rules
ACTION=="add", TEST=="/etc/driverctl.d/$env{SUBSYSTEM}-$kernel", PROGRAM="/usr/sbin/driverctl load-override $kernel
~~~
/sbin/driverctl
~~~
case ${cmd} in
load-override)
if [ -s $confdir/$sddev ]; then
drv=$(cat $confdir/$sddev)
set_override $dev $drv
else
exit 1
fi
;;
~~~
On system boot, udev is configured to use driverctl to load overrides for these PCI devices. It does so using commands similar to:
~~~
echo "0000:04:00.1" > /sys/bus/pci/devices/0000:04:00.1/driver/unbind
echo vfio-pci > /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
echo 0000:04:00.1 > /sys/bus/pci/drivers_probe
~~~
And it seems that during system boot, at the time where driverctl in udev tries to access these devices, these cannot be manipulated/accessed for a long time.
Assigning this to the driverctl team in the hope that this is a known issue. I found 2 ways to reproduce the issue:
a) udev rule with sleep:
~~~
cat <<'EOF'>/etc/udev/rules.d/01-sleep.rules
ACTION=="add", TEST=="/etc/driverctl.d/$env{SUBSYSTEM}-$kernel", PROGRAM="/bin/sleep 120"
EOF
~~~
b) adding a sleep to driverctl bash script - insert a sleep of 90 seconds into /sbin/driverctl, right before the line starting with set_override $dev $drv. In my version of driverctl, it's line 205.
~~~
[root@overcloud-compute-1 ~]# grep sleep `which driverctl` -C10 -n
195- devpath=$(realpath $devlink | cut -c5-)
196- fi
197- syspath=/sys/$devpath
198- sddev="$bus-$dev"
199-fi
200-
201-case ${cmd} in
202- load-override)
203- if [ -s $confdir/$sddev ]; then
204- drv=$(cat $confdir/$sddev)
205: sleep 90
206- set_override $dev $drv
207- else
208- exit 1
209- fi
210- ;;
211- list-devices)
212- list_devices 0 $devtype
213- ;;
214- list-overrides)
215- list_devices 1 $devtype
[root@overcloud-compute-1 ~]# which driverctl
/sbin/driverctl
~~~
I also found out that the behavior between OVS 2.6.1 and 2.9 when binding the DPDK ports is different. 2.9 is more "stubborn", it seems to use some backoff: 2018-10-11T21:31:44.617Z|00163|rconn|WARN|br-link<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:31:44.617Z|00164|rconn|INFO|br-link<->tcp:127.0.0.1:6633: continuing to retry connections in the background but suppressing further logging 2018-10-11T21:31:52.616Z|00165|rconn|WARN|br-tun<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:31:52.616Z|00166|rconn|WARN|br-int<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:31:52.616Z|00167|rconn|WARN|br-link<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:31:57.626Z|00168|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:31:57.626Z|00169|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:31:57.626Z|00170|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:31:57.626Z|00171|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:31:57.626Z|00172|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:31:57.626Z|00173|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:31:57.627Z|00174|fail_open|WARN|Could not connect to controller (or switch failed controller's post-connection admission control policy) for 20 seconds, failing open 2018-10-11T21:31:57.781Z|00175|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:31:57.782Z|00176|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:31:57.846Z|00177|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:31:57.846Z|00178|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:31:57.846Z|00179|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:31:57.846Z|00180|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:31:57.846Z|00181|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:31:57.846Z|00182|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:31:57.849Z|00183|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:31:57.850Z|00184|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:31:57.884Z|00185|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:31:57.885Z|00186|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:31:57.885Z|00187|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:31:57.885Z|00188|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:31:57.885Z|00189|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:31:57.885Z|00190|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:31:57.887Z|00191|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:31:57.888Z|00192|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:00.616Z|00193|rconn|WARN|br-tun<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:00.616Z|00194|rconn|WARN|br-int<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:00.616Z|00195|rconn|WARN|br-link<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:01.831Z|00196|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:01.832Z|00197|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:02.027Z|00198|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:02.027Z|00199|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:02.027Z|00200|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:02.027Z|00201|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:02.027Z|00202|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:02.027Z|00203|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:02.030Z|00204|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:02.031Z|00205|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:02.252Z|00206|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:02.252Z|00207|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:02.252Z|00208|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:02.252Z|00209|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:02.252Z|00210|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:02.252Z|00211|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:02.255Z|00212|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:02.256Z|00213|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:02.529Z|00214|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:02.529Z|00215|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:02.529Z|00216|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:02.529Z|00217|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:02.529Z|00218|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:02.529Z|00219|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:02.531Z|00220|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:02.532Z|00221|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:05.795Z|00222|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:05.795Z|00223|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:05.795Z|00224|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) (...) 2018-10-11T21:32:07.188Z|00258|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:07.188Z|00259|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:07.188Z|00260|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:07.226Z|00261|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:07.226Z|00262|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:07.226Z|00263|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:07.226Z|00264|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:07.226Z|00265|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:07.226Z|00266|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:07.814Z|00267|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:07.814Z|00268|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:07.814Z|00269|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:07.814Z|00270|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:07.814Z|00271|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:07.814Z|00272|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:07.856Z|00273|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:07.856Z|00274|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:07.856Z|00275|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:07.856Z|00276|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:07.856Z|00277|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:07.856Z|00278|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:07.895Z|00279|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:07.895Z|00280|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:07.895Z|00281|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:07.895Z|00282|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:07.895Z|00283|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:07.895Z|00284|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:08.175Z|00285|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:08.175Z|00286|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:08.175Z|00287|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:08.176Z|00288|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:08.176Z|00289|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:08.176Z|00290|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:08.213Z|00291|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:08.213Z|00292|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:08.213Z|00293|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:08.213Z|00294|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:08.213Z|00295|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:08.213Z|00296|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:08.617Z|00297|rconn|WARN|br-tun<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:08.617Z|00298|rconn|WARN|br-int<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:08.617Z|00299|rconn|WARN|br-link<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:12.038Z|00300|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:12.038Z|00301|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:12.038Z|00302|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:12.038Z|00303|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:12.038Z|00304|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:12.038Z|00305|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:12.084Z|00306|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:12.084Z|00307|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:12.084Z|00308|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:12.084Z|00309|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:12.084Z|00310|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:12.084Z|00311|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:12.123Z|00312|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:12.123Z|00313|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:12.123Z|00314|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:12.123Z|00315|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:12.123Z|00316|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:12.123Z|00317|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:16.315Z|00318|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:16.315Z|00319|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:16.315Z|00320|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:16.315Z|00321|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:16.315Z|00322|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:16.315Z|00323|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:16.322Z|00324|netdev_linux|INFO|Dropped 27 log messages in last 10 seconds (most recently, 4 seconds ago) due to excessive rate 2018-10-11T21:32:16.322Z|00325|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:32:16.529Z|00326|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:16.529Z|00327|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:16.529Z|00328|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:16.529Z|00329|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:16.529Z|00330|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:16.529Z|00331|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:16.616Z|00332|rconn|WARN|br-tun<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:16.616Z|00333|rconn|WARN|br-int<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:16.616Z|00334|rconn|WARN|br-link<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-10-11T21:32:16.817Z|00335|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:16.817Z|00336|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:16.817Z|00337|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:16.817Z|00338|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:16.817Z|00339|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:16.817Z|00340|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:16.962Z|00341|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:16.963Z|00342|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:16.964Z|00343|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) (...) 2018-10-11T21:32:17.306Z|00362|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:17.306Z|00363|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:17.306Z|00364|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:17.422Z|00365|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:17.422Z|00366|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:17.426Z|00367|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:17.426Z|00368|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:17.426Z|00369|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:17.426Z|00370|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:17.914Z|00371|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:17.914Z|00372|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:17.915Z|00373|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:17.919Z|00374|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:17.919Z|00375|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:17.919Z|00376|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:18.168Z|00377|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:18.169Z|00378|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:18.169Z|00379|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:18.170Z|00380|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:18.170Z|00381|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:18.170Z|00382|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:22.244Z|00383|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:22.245Z|00384|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:22.245Z|00385|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:22.245Z|00386|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:22.245Z|00387|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:22.245Z|00388|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:22.288Z|00389|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:22.288Z|00390|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:22.288Z|00391|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:22.288Z|00392|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:22.288Z|00393|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:22.288Z|00394|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:24.618Z|00395|rconn|INFO|br-tun<->tcp:127.0.0.1:6633: connected 2018-10-11T21:32:24.619Z|00396|rconn|INFO|br-int<->tcp:127.0.0.1:6633: connected 2018-10-11T21:32:24.620Z|00397|rconn|INFO|br-link<->tcp:127.0.0.1:6633: connected 2018-10-11T21:32:24.620Z|00398|fail_open|WARN|No longer in fail-open mode 2018-10-11T21:32:25.341Z|00399|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:25.341Z|00400|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:25.341Z|00401|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:25.341Z|00402|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:25.341Z|00403|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:25.341Z|00404|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:25.381Z|00405|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:25.381Z|00406|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:25.381Z|00407|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:25.381Z|00408|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:25.381Z|00409|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:25.381Z|00410|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:25.420Z|00411|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:25.420Z|00412|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:25.420Z|00413|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:25.420Z|00414|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:25.420Z|00415|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:25.420Z|00416|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:25.468Z|00417|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:25.468Z|00418|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:25.468Z|00419|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:25.468Z|00420|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:25.468Z|00421|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:25.468Z|00422|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:25.508Z|00423|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:32:25.508Z|00424|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:32:25.508Z|00425|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:32:25.508Z|00426|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:32:25.508Z|00427|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:32:25.508Z|00428|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:32:35.292Z|00429|connmgr|INFO|br-int<->tcp:127.0.0.1:6633: 4 flow_mods 10 s ago (4 adds) 2018-10-11T21:32:35.427Z|00430|connmgr|INFO|br-link<->tcp:127.0.0.1:6633: 2 flow_mods 10 s ago (2 adds) 2018-10-11T21:32:35.544Z|00431|connmgr|INFO|br-tun<->tcp:127.0.0.1:6633: 10 flow_mods 10 s ago (10 adds) 2018-10-11T21:34:25.649Z|00432|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:34:25.649Z|00433|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:34:25.649Z|00434|dpdk|ERR|EAL: Driver cannot attach the device (0000:04:00.1) 2018-10-11T21:34:25.649Z|00435|dpdk|ERR|EAL: No port found for device (0000:04:00.1) 2018-10-11T21:34:25.649Z|00436|netdev_dpdk|WARN|Error attaching device '0000:04:00.1' to DPDK 2018-10-11T21:34:25.649Z|00437|netdev|WARN|dpdk0: could not set configuration (Invalid argument) 2018-10-11T21:34:25.660Z|00438|netdev_linux|INFO|Dropped 33 log messages in last 130 seconds (most recently, 121 seconds ago) due to excessive rate 2018-10-11T21:34:25.660Z|00439|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:34:25.666Z|00440|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device 2018-10-11T21:34:25.702Z|00441|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0 2018-10-11T21:34:25.702Z|00442|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe 2018-10-11T21:34:25.703Z|00443|dpdk|INFO|EAL: using IOMMU type 1 (Type 1) 2018-10-11T21:34:25.927Z|00444|dpdk|INFO|EAL: Ignore mapping IO port bar(2) Given that OVS 2.9 has these retries, any delay in binding with driverctl won't cause that many issues as with 2.6.1. Can we figure out when this code change was introduced to OVS and what the algorithm is for the backoff? I couldn't find it in the code, unfortunately. I also think that using udev to call driverctl load-overrides may be inferior to using systemd service files.
Now that we have a reproducer and a sosreport and data of the reproduced issue, let's try a mitigation strategy.
## Some more background before we jump into it ##
With the current setup, on system boot, driverctl is used by udev to load overrides:
~~~
[root@overcloud-compute-0 ~]# cat /usr/lib/udev/rules.d/05-driverctl.rules
ACTION=="add", TEST=="/etc/driverctl.d/$env{SUBSYSTEM}-$kernel", PROGRAM="/usr/sbin/driverctl load-override $kernel"
~~~
driverctl runs more or less the following commands to bind the vfio-pci driver to a device (with the correct PCI bus addresses, of course):
~~~
echo "0000:04:00.1" > /sys/bus/pci/devices/0000:04:00.1/driver/unbind
echo vfio-pci > /sys/devices/pci0000:00/0000:00:02.0/0000:04:00.1/driver_override
echo 0000:04:00.1 > /sys/bus/pci/drivers_probe
~~~
ovs-vswitchd starts after systemd-udev-settle:
~~~
[root@compute ~]# cat /usr/lib/systemd/system/ovs-vswitchd.service
[Unit]
Description=Open vSwitch Forwarding Unit
After=ovsdb-server.service network-pre.target systemd-udev-settle.service
~~~
Which in turn starts after systemd-udevd and executes and blocks on `/usr/bin/udevadm settle`:
~~~
[root@overcloud-compute-0 ~]# cat /usr/lib/systemd/system/systemd-udev-settle.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# This service can dynamically be pulled-in by legacy services which
# cannot reliably cope with dynamic device configurations, and wrongfully
# expect a populated /dev during bootup.
[Unit]
Description=udev Wait for Complete Device Initialization
Documentation=man:udev(7) man:systemd-udevd.service(8)
DefaultDependencies=no
Wants=systemd-udevd.service
After=systemd-udev-trigger.service
Before=sysinit.target
ConditionPathIsReadWrite=/sys
[Service]
Type=oneshot
TimeoutSec=180
RemainAfterExit=yes
ExecStart=/usr/bin/udevadm settle
[root@overcloud-compute-0 ~]# /usr/bin/udevadm settle
Successfully loaded SELinux database in 2.924ms, size on heap is 321K.
calling: settle
~~~
With the above rules, unfortunately, there doesn't seem to be a chain of dependencies between OVS and the success of driverctl. The kernel sends the udev event for detection of the PCI device to udevd which calls driverctl (udev rule). This seems to happen instantaneously and at this moment the event must be considered as processed (udevadm settle won't delay the boot), because any delays inserted in the driverctl script do *not* make OVS wait before starting up.
With all that we know so far, I'm wondering if going with udev is the right thing to do. Creating a systemd service seems to be more flexible and also easier to control, and the dependencies are actually being met.
In the following test with systemd, OVS will not start before the overrides are loaded (and the driverctld.service is started).
## How to use systemd instead of the udev rule ##
This is a test only. The following method is unsupported. But please try it in your reproducer with the modified /sbin/driverctl (with 90 seconds sleep).
* Override the udev rule with an empty rule file in the custom directory. Create this new file with the following command:
~~~
> /etc/udev/rules.d/05-driverctl.rules
~~~
* create script:
~~~
cat <<'EOF'>/usr/local/bin/load_driverctl.sh
#!/bin/bash -x
cd /etc/driverctl.d
for i in *; do
bus=$(echo $i | sed "s/pci-//")
if /sbin/driverctl list-overrides | grep -q "$bus" ; then
systemd-notify --status="override already set for $bus"
else
systemd-notify --status="Loading override for $bus"
/sbin/driverctl load-override $bus
fi
done
systemd-notify --ready --status="All overrides done"
EOF
chmod +x /usr/local/bin/load_driverctl.sh
~~~
* create systemd unit file:
~~~
cat <<'EOF'>/etc/systemd/system/driverctld.service
[Unit]
Description=driverctl override
DefaultDependencies=no
After=network-pre.target systemd-udev-settle.service
Before=network.target network.service ovs-vswitchd.service
ConditionPathIsReadWrite=/sys
[Service]
Type=notify
ExecStart=/usr/local/bin/load_driverctl.sh
TimeoutSec=10m
[Install]
WantedBy=multi-user.target
EOF
systemctl enable driverctld
~~~
## Gather additional data ##
Once you fixed the issue this way, please generate the following:
~~~
sosreport --batch --all-logs
~~~
~~~
systemd-analyze time
systemd-analyze critical-chain
systemd-analyze plot > reproducer.fix.`hostname`.svg
~~~
Please attach a) the sosreport, b) output from your CLI for the systemd-analyze commands and c) file reproducer.fix.`hostname`.svg
## Results in my lab ##
I tested this in my lab by going crazy on the sleep in /sbin/driverctl:
~~~
201 case ${cmd} in
202 load-override)
203 if [ -s $confdir/$sddev ]; then
204 drv=$(cat $confdir/$sddev)
205 sleep 300
206 set_override $dev $drv
207 else
208 exit 1
209 fi
210 ;;
~~~
The problem with this is that dependency chain. network will start after openvswitch and openvswitch will start after driverctld only. That's actually the correct list of dependencies. OVS should not start before all overrides are configured and the network should not start before OVS. But obviously, with a 10 minute timeout and 5 minute sleep within driverctl, the system won't be reachable until 5 minutes into startup (no ping, no SSH). IMO with a 5 minutes timeout in the service file (which is the worst case), this is acceptable, though.
~~~
[root@overcloud-compute-1 ~]# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
multi-user.target @5min 56.118s
└─openstack-nova-compute.service @5min 39.442s +16.674s
└─neutron-ovs-cleanup.service @5min 36.725s +2.714s
└─network.target @5min 36.631s
└─network.service @5min 18.136s +18.490s
└─openvswitch.service @5min 18.119s +14ms
└─ovs-vswitchd.service @5min 6.392s +11.723s
└─driverctld.service @5.936s +5min 444ms
└─network-pre.target @5.928s
└─cloud-init-local.service @4.380s +1.545s
└─dbus.socket @4.264s
└─sysinit.target @4.167s
└─systemd-update-utmp.service @4.149s +14ms
└─auditd.service @3.904s +242ms
└─systemd-tmpfiles-setup.service @3.802s +99ms
└─systemd-journal-flush.service @832ms +2.967s
└─systemd-journald.service @665ms +163ms
└─system.slice
└─-.slice
~~~
But there are no issues any longer with the override:
~~~
[root@overcloud-compute-1 ~]# driverctl list-overrides
0000:04:00.1 vfio-pci
[root@overcloud-compute-1 ~]# ovs-vsctl show | grep dpdk -C1
type: internal
Port "dpdk0"
Interface "dpdk0"
type: dpdk
options: {dpdk-devargs="0000:04:00.1"}
Bridge br-int
[root@overcloud-compute-1 ~]# grep dpdk /var/log/openvswitch/ovs-vswitchd.log
2018-10-12T03:51:23.084Z|00243|bridge|INFO|bridge br-link: deleted interface dpdk0 on port 1
2018-10-12T03:51:23.234Z|00246|dpif_netdev|INFO|Core 6 on numa node 0 assigned port 'dpdk0' rx queue 0 (measured processing cycles 163281).
2018-10-12T03:58:12.157Z|00007|dpdk|INFO|Using DPDK 17.11.0
2018-10-12T03:58:12.157Z|00008|dpdk|INFO|DPDK Enabled - initializing...
2018-10-12T03:58:12.157Z|00009|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch
2018-10-12T03:58:12.157Z|00010|dpdk|INFO|IOMMU support for vhost-user-client disabled.
2018-10-12T03:58:12.157Z|00011|dpdk|INFO|EAL ARGS: ovs-vswitchd -c 300003 --socket-mem 4096,4096
2018-10-12T03:58:12.160Z|00012|dpdk|INFO|EAL: Detected 40 lcore(s)
2018-10-12T03:58:12.194Z|00013|dpdk|INFO|EAL: Probing VFIO support...
2018-10-12T03:58:12.194Z|00014|dpdk|INFO|EAL: VFIO support initialized
2018-10-12T03:58:22.826Z|00015|dpdk|INFO|EAL: PCI device 0000:04:00.0 on NUMA socket 0
2018-10-12T03:58:22.826Z|00016|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe
2018-10-12T03:58:22.826Z|00017|dpdk|INFO|EAL: PCI device 0000:04:00.1 on NUMA socket 0
2018-10-12T03:58:22.826Z|00018|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe
2018-10-12T03:58:22.828Z|00019|dpdk|INFO|EAL: using IOMMU type 1 (Type 1)
2018-10-12T03:58:23.050Z|00020|dpdk|INFO|EAL: Ignore mapping IO port bar(2)
2018-10-12T03:58:23.291Z|00021|dpdk|INFO|EAL: PCI device 0000:05:00.0 on NUMA socket 0
2018-10-12T03:58:23.291Z|00022|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe
2018-10-12T03:58:23.291Z|00023|dpdk|INFO|EAL: PCI device 0000:05:00.1 on NUMA socket 0
2018-10-12T03:58:23.291Z|00024|dpdk|INFO|EAL: probe driver: 8086:154d net_ixgbe
2018-10-12T03:58:23.294Z|00025|dpdk|INFO|DPDK Enabled - initialized
2018-10-12T03:58:28.845Z|00157|dpdk|INFO|PMD: ixgbe_dev_link_status_print(): Port 0: Link Up - speed 0 Mbps - half-duplex
2018-10-12T03:58:28.845Z|00158|netdev_dpdk|INFO|Port 0: a0:36:9f:e5:da:4e
2018-10-12T03:58:28.845Z|00159|dpif_netdev|INFO|Core 24 on numa node 0 assigned port 'dpdk0' rx queue 0 (measured processing cycles 0).
2018-10-12T03:58:28.845Z|00160|bridge|INFO|bridge br-link: added interface dpdk0 on port 1
[root@overcloud-compute-1 ~]#
~~~
In the customer's OVS 2.6.1 environment, they also needed to add an explicit dependency to OVS: ~~~ mkdir /etc/systemd/system/ovs-vswitchd.service.d cat <<'EOF'>/etc/systemd/system/ovs-vswitchd.service.d/drivertctld.conf [Unit] After=ovsdb-server.service network-pre.target systemd-udev-settle.service driverctld.service EOF systemctl daemon-reload ~~~ Verify: ~~~ systemctl show ovs-vswitchd.service | grep After # should contain driverctld ~~~ Reboot. Conclusion: For an unknown reason, in the customer's environment, driverctl load-override from ...
~~~
[root@overcloud-compute-0 ~]# cat /usr/lib/udev/rules.d/05-driverctl.rules
ACTION=="add", TEST=="/etc/driverctl.d/$env{SUBSYSTEM}-$kernel", PROGRAM="/usr/sbin/driverctl load-override $kernel"
~~~
... takes more than a minute (udev warn timer) but less than 3 minutes (udev timeout) to start.
Unfortunately, that's long enough in the customer environment for OVS to start (it won't wait for the udev rule to comple) and to try binding those interfaces. However, driverctl did not yet finish the job and the binding fails.
OVS 2.9 seems to retry binding the dpdk<x> interfaces whereas OVS 2.6.1 fails right away (I'd like to find the code where this is done in OVS 2.9 if possible).
Hence, with OVS 2.9, some sort of resiliency is "implicitly" built into the startup.
However, a real dependency chain would need a systemd service file to load the overrides with driverctl - instead of a udev rule which will not delay the OVS and network start. However, given the dependency of network.service on ovs-vswitchd.service, delaying ovs-vswitchd.service will also delay the network startup, leaving the host unreachable for a longer time.
Hi Tim, This bug was produced on an Openstack test bed. Thus, I would suggest assigning it to an Openstack QE engineer to do the verification work. Thanks! Jean NOTE: Per Comment 31 we have done part of the verification testing. Sorry the how to test in clear to me. From RHOSP10z6Async OVS-DPDK 2.9 exist. Which RHOSP10zX is installed in customer site? what OVS+DPDK version installed? What need to be tested? is it only RHEL 7.6 update in the compute on customer 10z release? Hi Timothy , From comment#25, does it mean that the fix have passed the test in customer site? I'm asking this because we cannot reproduce the issue in RH lab. We've done regression test. If it has passed customer's test, I think we can put the bug to VERIFIED. Thanks Qijun Hi Qijun, Andreas tested it on the customer bench and it worked. An easy way (or, at least, the way I used) to reproduce it is to add a long delay (sleep 120) in driverctl, see Comment 10, and to reboot the machine Thank you Set to VERIFIED with the test below. Passed in customer site Done QE regression test Reproduced with driverctl-0.95-1.el7.noarch and way b) in comment#10, [root@dell-per730-05 ~]# ovs-vsctl show 5649cb8c-f0bf-4145-8183-86b8dd26f9d6 Bridge br-int Port "patch0" Interface "patch0" type: patch options: {peer="patch_ovsbr0"} Port "patch1" Interface "patch1" type: patch options: {peer="patch_ovsbr1"} Port "patch2" Interface "patch2" type: patch options: {peer="patch_ovsbr2"} Port br-int Interface br-int type: internal Bridge "ovsbr0" Port "dpdkbond0" Interface "dpdk0" type: dpdk error: "could not open network device dpdk0 (No such device)" Interface "dpdk1" type: dpdk error: "could not open network device dpdk1 (No such device)" Port "ovs_p0" Interface "ovs_p0" type: internal Port "ovs_p1" Interface "ovs_p1" type: internal Port "patch_ovsbr0" Interface "patch_ovsbr0" type: patch options: {peer="patch0"} Port "ovsbr0" Interface "ovsbr0" type: internal Bridge "ovsbr2" Port "ovsbr2" Interface "ovsbr2" type: internal Port "patch_ovsbr2" Interface "patch_ovsbr2" type: patch options: {peer="patch2"} Port "ovs_p4" Interface "ovs_p4" type: internal Port "ovs_p5" Interface "ovs_p5" type: internal Bridge "ovsbr1" Port "ovsbr1" Interface "ovsbr1" type: internal Port "ovs_p2" Interface "ovs_p2" type: internal Port "patch_ovsbr1" Interface "patch_ovsbr1" type: patch options: {peer="patch1"} Port "ovs_p3" Interface "ovs_p3" type: internal Port "dpdkbond1" Interface "dpdk3" type: dpdk error: "could not open network device dpdk3 (No such device)" Interface "dpdk2" type: dpdk error: "could not open network device dpdk2 (No such device)" ovs_version: "2.6.1" [root@dell-per730-05 ~]# Verified with driverctl-0.101-1.el7fdp.noarch and way b) in comment #10 [root@dell-per730-05 ~]# ovs-vsctl show 5649cb8c-f0bf-4145-8183-86b8dd26f9d6 Bridge br-int Port "patch0" Interface "patch0" type: patch options: {peer="patch_ovsbr0"} Port "patch1" Interface "patch1" type: patch options: {peer="patch_ovsbr1"} Port "patch2" Interface "patch2" type: patch options: {peer="patch_ovsbr2"} Port br-int Interface br-int type: internal Bridge "ovsbr0" Port "dpdkbond0" Interface "dpdk0" type: dpdk Interface "dpdk1" type: dpdk Port "ovs_p0" Interface "ovs_p0" type: internal Port "ovs_p1" Interface "ovs_p1" type: internal Port "patch_ovsbr0" Interface "patch_ovsbr0" type: patch options: {peer="patch0"} Port "ovsbr0" Interface "ovsbr0" type: internal Bridge "ovsbr2" Port "ovsbr2" Interface "ovsbr2" type: internal Port "patch_ovsbr2" Interface "patch_ovsbr2" type: patch options: {peer="patch2"} Port "ovs_p4" Interface "ovs_p4" type: internal Port "ovs_p5" Interface "ovs_p5" type: internal Bridge "ovsbr1" Port "ovsbr1" Interface "ovsbr1" type: internal Port "ovs_p2" Interface "ovs_p2" type: internal Port "patch_ovsbr1" Interface "patch_ovsbr1" type: patch options: {peer="patch1"} Port "ovs_p3" Interface "ovs_p3" type: internal Port "dpdkbond1" Interface "dpdk3" type: dpdk Interface "dpdk2" type: dpdk ovs_version: "2.6.1" [root@dell-per730-05 ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3716 (In reply to Yariv from comment #40) > Sorry the how to test in clear to me. > > From RHOSP10z6Async OVS-DPDK 2.9 exist. > Which RHOSP10zX is installed in customer site? what OVS+DPDK version > installed? > > What need to be tested? > is it only RHEL 7.6 update in the compute on customer 10z release? The bug has been closed. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |
Description of problem: A customer runs into the following issue: DPDK interfaces cannot be attached to OVS 2.6.1 after reboot ~~~ "could not open network device dpdk1 (No such device)" ~~~ This is the case for all dpdk<x> interfaces. The customer then restarts openvswitch and the issue is fixed by the OVS restart. I looked into the instance and its logs, and I currently suspect that interfaces come up as i40e at boot (for whatever reason) and also that something there is taking a very long time when bringing up the interfaces. When OVS tries to start (a few minutes into boot), the interfaces are still not bound to vfio-pci, and that's where ovs-vswitchd fails. Later, the interfaces bind to vfio-pci and a restart of openvswitch fixes this. At least that's my current theory, which isn't backed by very much. --------- Here are the relevant things that I see: Instance up for 8 minutes, local time is 06:24 PDT / 13:24 GMT: ~~~ [akaris@collab-shell sosreport-20180928-062455]$ cat ./overcloud-compute-11/date Fri Sep 28 06:24:55 PDT 2018 [akaris@collab-shell overcloud-compute-11]$ cat uptime 06:24:55 up 8 min, 1 user, load average: 14.06, 9.19, 4.33 ~~~ OVS shows the issue: ~~~ [akaris@collab-shell overcloud-compute-11]$ cat ./sos_commands/openvswitch/ovs-vsctl_-t_5_show <UUID> Manager "ptcp:6640:127.0.0.1" is_connected: true Bridge br-int Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port int-br-amedia Interface int-br-amedia type: patch options: {peer=phy-br-amedia} Port int-br-cmedia Interface int-br-cmedia type: patch options: {peer=phy-br-cmedia} Port int-br-sig Interface int-br-sig type: patch options: {peer=phy-br-sig} Port br-int Interface br-int type: internal Bridge br-sig Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port "dpdkbond0" Interface "dpdk1" type: dpdk options: {n_rxq="8"} error: "could not open network device dpdk1 (No such device)" Interface "dpdk0" type: dpdk options: {n_rxq="8"} Port phy-br-sig Interface phy-br-sig type: patch options: {peer=int-br-sig} Port br-sig Interface br-sig type: internal Bridge br-amedia Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port br-amedia Interface br-amedia type: internal Port phy-br-amedia Interface phy-br-amedia type: patch options: {peer=int-br-amedia} Port "dpdkbond2" Interface "dpdk5" type: dpdk options: {n_rxq="8"} error: "could not open network device dpdk5 (No such device)" Interface "dpdk4" type: dpdk options: {n_rxq="8"} error: "could not open network device dpdk4 (No such device)" Bridge br-cmedia Controller "tcp:127.0.0.1:6633" is_connected: true fail_mode: secure Port phy-br-cmedia Interface phy-br-cmedia type: patch options: {peer=int-br-cmedia} Port "dpdkbond1" Interface "dpdk3" type: dpdk options: {n_rxq="8"} error: "could not open network device dpdk3 (No such device)" Interface "dpdk2" type: dpdk options: {n_rxq="8"} error: "could not open network device dpdk2 (No such device)" Port br-cmedia Interface br-cmedia type: internal ovs_version: "2.6.1" ~~~ From logs, system boots at: ~~~ -- Logs begin at Fri 2018-09-07 00:14:04 PDT, end at Fri 2018-09-28 06:25:01 PDT. -- Sep 28 06:16:56 localhost systemd-journal[689]: Runtime journal is using 8.0M (max allowed 4.0G, trying to leave 4.0G free of 251.7G available → current limit 4.0G). Sep 28 06:16:56 localhost kernel: Initializing cgroup subsys cpuset Sep 28 06:16:56 localhost kernel: Initializing cgroup subsys cpu Sep 28 06:16:56 localhost kernel: Initializing cgroup subsys cpuacct Sep 28 06:16:56 localhost kernel: Linux version 3.10.0-693.5.2.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Fri Oct 13 10:46:25 EDT 2017 Sep 28 06:16:56 localhost kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.5.2.el7.x86_64 root=LABEL=img-root fs ro console=tty0 console=ttyS0,115200n8 crashkernel=auto rhgb quiet skew_tick=1 isolcpus=1,3,5,7-43,45,47,49,51-87 d efault_hugepagesz=1GB hugepagesz=1G hugepages=480 iommu=pt intel_iommu=on processor.max_cstate=0 intel_idle.max_cstate =0 LANG=en_US.UTF-8 nohz=on nohz_full=4-21,48-65,22-43,66-87 rcu_nocbs=4-21,48-65,22-43,66-87 tuned.non_isolcpus=0000f 000,0000000f intel_pstate=disable nosoftlockup Sep 28 06:16:56 localhost kernel: e820: BIOS-provided physical RAM map: Sep 28 06:16:56 localhost kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009bfff] usable ~~~ From openvswitch log, we can see that OVS cannot attach to dpdk<x> ports due to "No such device": ~~~ 2018-09-28T13:19:58.044Z|00104|poll_loop|INFO|wakeup due to [POLLIN] on fd 125 (FIFO pipe:[40001]) at lib/ovs-thread.c:306 (99% CPU usage) 2018-09-28T13:19:58.092Z|00105|dpif_netdev|INFO|Created 12 pmd threads on numa node 1 2018-09-28T13:19:58.094Z|00106|poll_loop|INFO|wakeup due to 0-ms timeout at lib/ovs-rcu.c:230 (99% CPU usage) 2018-09-28T13:19:58.095Z|00107|poll_loop|INFO|wakeup due to [POLLIN] on fd 125 (FIFO pipe:[40001]) at lib/ovs-rcu.c:230 (99% CPU usage) 2018-09-28T13:19:58.095Z|00108|poll_loop|INFO|wakeup due to [POLLIN] on fd 125 (FIFO pipe:[40001]) at lib/ovs-rcu.c:230 (99% CPU usage) 2018-09-28T13:19:58.095Z|00109|poll_loop|INFO|wakeup due to 0-ms timeout at lib/ovs-rcu.c:230 (99% CPU usage) 2018-09-28T13:19:58.095Z|00110|poll_loop|INFO|wakeup due to [POLLIN] on fd 125 (FIFO pipe:[40001]) at lib/ovs-rcu.c:230 (99% CPU usage) 2018-09-28T13:19:58.095Z|00111|poll_loop|INFO|wakeup due to 0-ms timeout at lib/ovs-rcu.c:230 (99% CPU usage) 2018-09-28T13:19:58.097Z|00112|rconn|INFO|br-int<->tcp:127.0.0.1:6633: connecting... 2018-09-28T13:19:58.098Z|00113|rconn|WARN|br-int<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-09-28T13:19:58.098Z|00114|rconn|INFO|br-int<->tcp:127.0.0.1:6633: waiting 2 seconds before reconnect 2018-09-28T13:19:58.098Z|00115|rconn|INFO|br-cmedia<->tcp:127.0.0.1:6633: connecting... 2018-09-28T13:19:58.098Z|00116|rconn|WARN|br-cmedia<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-09-28T13:19:58.098Z|00117|rconn|INFO|br-cmedia<->tcp:127.0.0.1:6633: waiting 2 seconds before reconnect 2018-09-28T13:19:58.098Z|00118|rconn|INFO|br-amedia<->tcp:127.0.0.1:6633: connecting... 2018-09-28T13:19:58.098Z|00119|rconn|WARN|br-amedia<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-09-28T13:19:58.098Z|00120|rconn|INFO|br-amedia<->tcp:127.0.0.1:6633: waiting 2 seconds before reconnect 2018-09-28T13:19:58.100Z|00121|memory|INFO|1001036 kB peak resident set size after 171.2 seconds 2018-09-28T13:19:58.100Z|00122|memory|INFO|handlers:65 ofconns:4 ports:11 revalidators:23 rules:16 2018-09-28T13:19:58.141Z|00123|bridge|WARN|could not open network device dpdk3 (No such device) 2018-09-28T13:19:58.142Z|00124|bridge|WARN|could not open network device dpdk2 (No such device) 2018-09-28T13:19:58.142Z|00125|bridge|WARN|could not open network device dpdk4 (No such device) 2018-09-28T13:19:58.142Z|00126|bridge|WARN|could not open network device dpdk5 (No such device) 2018-09-28T13:19:58.142Z|00127|bridge|WARN|could not open network device dpdk1 (No such device) 2018-09-28T13:19:58.155Z|00128|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.6.1 2018-09-28T13:19:58.526Z|00129|rconn|INFO|br-sig<->tcp:127.0.0.1:6633: connecting... 2018-09-28T13:19:58.527Z|00130|rconn|WARN|br-sig<->tcp:127.0.0.1:6633: connection failed (Connection refused) 2018-09-28T13:19:58.527Z|00131|rconn|INFO|br-sig<->tcp:127.0.0.1:6633: waiting 2 seconds before reconnect 2018-09-28T13:19:58.803Z|00132|bridge|WARN|could not open network device dpdk3 (No such device) 2018-09-28T13:19:58.803Z|00133|bridge|WARN|could not open network device dpdk2 (No such device) 2018-09-28T13:19:58.803Z|00134|bridge|WARN|could not open network device dpdk4 (No such device) 2018-09-28T13:19:58.803Z|00135|bridge|WARN|could not open network device dpdk5 (No such device) 2018-09-28T13:19:58.803Z|00136|bridge|WARN|could not open network device dpdk1 (No such device) 2018-09-28T13:19:58.849Z|00137|bridge|WARN|could not open network device dpdk3 (No such device) 2018-09-28T13:19:58.849Z|00138|bridge|WARN|could not open network device dpdk2 (No such device) ~~~ Driverctl list-overrides shows that interfaces were bound properly: ~~~ [akaris@collab-shell overcloud-compute-11]$ cat ./sos_commands/openvswitch/driverctl_list-overrides 0000:5e:00.0 vfio-pci 0000:5e:00.1 vfio-pci 0000:87:00.0 vfio-pci 0000:87:00.1 vfio-pci 0000:af:00.0 vfio-pci 0000:af:00.1 vfio-pci ~~~ And kernel space interfaces don't exist: ~~~ [akaris@collab-shell overcloud-compute-11]$ cat ./sos_commands/networking/ip_address | egrep 'enp94s|enp135s|enp175' [akaris@collab-shell overcloud-compute-11]$ ~~~ This explains why a restart of OVS works and fixes the issue. Version-Release number of selected component (if applicable): erlang-kernel-18.3.4.5-3.el7ost.1.x86_64 Wed Sep 20 10:09:38 2017 kernel-3.10.0-693.2.2.el7.x86_64 Wed Sep 20 09:24:30 2017 kernel-3.10.0-693.5.2.el7.x86_64 Fri Sep 7 02:54:06 2018 kernel-devel-3.10.0-693.2.2.el7.x86_64 Wed Sep 20 10:29:45 2017 kernel-devel-3.10.0-693.5.2.el7.x86_64 Fri Sep 7 02:54:12 2018 kernel-headers-3.10.0-693.5.2.el7.x86_64 Fri Sep 7 02:54:03 2018 kernel-tools-3.10.0-693.5.2.el7.x86_64 Fri Sep 7 02:54:01 2018 kernel-tools-libs-3.10.0-693.5.2.el7.x86_64 Fri Sep 7 02:54:01 2018 openstack-neutron-openvswitch-9.4.1-1.el7ost.noarch Wed Sep 20 10:21:21 2017 openvswitch-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:09 2018 openvswitch-debuginfo-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:16 2018 openvswitch-devel-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:16 2018 openvswitch-ovn-central-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:10 2018 openvswitch-ovn-common-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:09 2018 openvswitch-ovn-docker-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:10 2018 openvswitch-ovn-host-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:10 2018 openvswitch-ovn-vtep-2.6.1-26.git20180130.el7.x86_64 Fri Sep 7 05:43:10 2018 openvswitch-test-2.6.1-26.git20180130.el7.noarch Fri Sep 7 05:43:10 2018 python-openvswitch-2.6.1-26.git20180130.el7.noarch Fri Sep 7 05:43:09 2018 How reproducible: after a reboot, mainly on Dell servers. There seems to be some correlation with the server type Steps to Reproduce: 1. reboot the node Actual results: see above Expected results: OVS should be able to start Additional info: Further logs in a private comment.