[patch] OVS bridges should not use 'auto' 61/58661/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 15 Jun 2018 22:19:40 +0000 (00:19 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 18 Jun 2018 12:24:37 +0000 (14:24 +0200)
Change-Id: I0db7b9ee5af77f9e2d580c4ace9fa7d7f17c8d85
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/patches/0015-Set-ovs-bridges-as-L3-interfaces.patch

index c55a372..d840e9f 100644 (file)
@@ -35,8 +35,11 @@ diff --git a/linux/files/ovs_port b/linux/files/ovs_port
 index 222ca8e..efb0307 100644
 --- a/linux/files/ovs_port
 +++ b/linux/files/ovs_port
-@@ -1,6 +1,9 @@
- auto {{ port_name }}
+@@ -1,6 +1,11 @@
++# With systemd, adding OVS bridges as 'auto' can cause race conditions
++# https://github.com/openvswitch/ovs/blob/master/debian/openvswitch-switch.README.Debian
++# auto {{ port_name }}
+-auto {{ port_name }}
  allow-{{ port.bridge }} {{ port_name }}
  iface {{ port_name }} inet {{ port.get('proto', 'manual') }}
 +{%- if '.' in port_name %}