Comment 6 for bug 1798588

Revision history for this message
puthi (puthi) wrote :

Just in case anybody having the same setup as me and running into this same problem, here the work around i did

- Create extra script for openvswitch during start up to delete and recreate bridge br-bond0

vim /etc/systemd/system/openvswitch.service.d/fix-ovs-bridge.conf
[Service]
ExecStartPre=/etc/init.d/fix_ovs.sh

- and in /etc/init.d/fix_ovs.sh
#!/bin/bash

/bin/ovs-vsctl del-br br-int
/bin/ovs-vsctl del-br br-bond0
/bin/ovs-vsctl add-br br-int
/bin/ovs-vsctl add-br br-bond0
/bin/ovs-vsctl --may-exist add-bond br-bond0 bond0 eno5 eno6 bond_mode=active-backup

- then run
chmod +x /etc/init.d/fix_ovs.sh
systemctl daemon-reload