I had this issue also on PVE 4.4 but solve by editing /etc/init.d/openvswitch-switch with this patch
diff -u ~/openvswitch-switch.old openvswitch-switch
--- /root/openvswitch-switch.old 2015-05-06 10:37:34.036076834 +0200
+++ openvswitch-switch 2015-05-06 11:20:21.776809573 +0200
@@ -16,10 +16,12 @@
#
### BEGIN INIT INFO
# Provides: openvswitch-switch
-# Required-Start: $network $named $remote_fs $syslog
-# Required-Stop: $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# X-Start-Before: networking
+# X-Stop-After: networking
+# Default-Start: S
+# Default-Stop: 0 6
# Short-Description: Open vSwitch switch
# Description: openvswitch-switch provides the userspace components and utilities for
# the Open vSwitch kernel-based switch.
Error is that the vmbr0 is not found by network manager and the boot proces timeouts
When booted, I have to add the vmbr0 manually and then restart the network.
First bug of this are in 2013, how it is possible to still have issues with this stuff? It is to difficult to fix service order?
This is the interface file that was working in 4.4 with service patch.
auto lo
iface lo inet loopback
iface eno2 inet manual
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds ens1f0 ens1f1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan10
auto vlan10
allow-vmbr0 vlan10
iface vlan10 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options vlan_mode=access tag=10
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.0.10.2
netmask 255.255.255.0
gateway 10.0.10.1
iface ens1f2 inet manual
iface ens1f3 inet manual
iface eno1 inet manual
iface eno1 inet dhcp
This is taken and tweaked to fit needs. That do not seems to be the hardest configuration in the world but catn even start the networking on a clean boot.
Please help.
diff -u ~/openvswitch-switch.old openvswitch-switch
--- /root/openvswitch-switch.old 2015-05-06 10:37:34.036076834 +0200
+++ openvswitch-switch 2015-05-06 11:20:21.776809573 +0200
@@ -16,10 +16,12 @@
#
### BEGIN INIT INFO
# Provides: openvswitch-switch
-# Required-Start: $network $named $remote_fs $syslog
-# Required-Stop: $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# X-Start-Before: networking
+# X-Stop-After: networking
+# Default-Start: S
+# Default-Stop: 0 6
# Short-Description: Open vSwitch switch
# Description: openvswitch-switch provides the userspace components and utilities for
# the Open vSwitch kernel-based switch.
Error is that the vmbr0 is not found by network manager and the boot proces timeouts
When booted, I have to add the vmbr0 manually and then restart the network.
First bug of this are in 2013, how it is possible to still have issues with this stuff? It is to difficult to fix service order?
This is the interface file that was working in 4.4 with service patch.
auto lo
iface lo inet loopback
iface eno2 inet manual
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds ens1f0 ens1f1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan10
auto vlan10
allow-vmbr0 vlan10
iface vlan10 inet static
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options vlan_mode=access tag=10
ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
address 10.0.10.2
netmask 255.255.255.0
gateway 10.0.10.1
iface ens1f2 inet manual
iface ens1f3 inet manual
iface eno1 inet manual
iface eno1 inet dhcp
This is taken and tweaked to fit needs. That do not seems to be the hardest configuration in the world but catn even start the networking on a clean boot.
Please help.