summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authoraaron conole <aconole@redhat.com>2017-04-18 11:13:49 -0400
committerRussell Bryant <russell@ovn.org>2017-06-29 15:23:52 -0400
commit2a951e8509fb13f7be41694c6bbb491b08c71220 (patch)
tree07996c47e6a11202676dde8fcb58aa2e6adaea6f /rhel
parent94eb8690347dfc83fcc87654f00d21e5453c7ee5 (diff)
downloadopenvswitch-2a951e8509fb13f7be41694c6bbb491b08c71220.tar.gz
rhel-systemd: start vswitchd after udev
It's possible to race with the udev service, such that dpdk ports are not finished being bound until after ovs-vswitchd has been started. This means that attempts to use the port will fail. While it is possible to work around this for some NICs using port hotplug, not all port types are supported (for instance vfio), and it requires manual intervention. Fixes: 36af136b690c ("rhel-systemd: Delay shutting down the services") Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1397299 Suggested-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Aaron Conole <aconole@redhat.com> Tested-by: Karthik Sundaravel <ksundara@redhat.com> Signed-off-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/usr_lib_systemd_system_ovs-vswitchd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhel/usr_lib_systemd_system_ovs-vswitchd.service b/rhel/usr_lib_systemd_system_ovs-vswitchd.service
index 39627e96e..22a4c63d6 100644
--- a/rhel/usr_lib_systemd_system_ovs-vswitchd.service
+++ b/rhel/usr_lib_systemd_system_ovs-vswitchd.service
@@ -1,6 +1,6 @@
[Unit]
Description=Open vSwitch Forwarding Unit
-After=ovsdb-server.service network-pre.target
+After=ovsdb-server.service network-pre.target systemd-udev-settle.service
Before=network.target network.service
Requires=ovsdb-server.service
ReloadPropagatedFrom=ovsdb-server.service