[SOLVED] Openvswitch Bond error in GUI

totalimpact

Renowned Member
Dec 12, 2010
143
24
83
I have a server (v8.3.2 latest) with a 4 port nic, I just modified the interfaces file manually, everything seems to work, but now I get an error in the GUI if I just try to enter a comment on a network port, it acts like it is expecting interface names to be "eth"
1736227411070.png

My ports are:
Bash:
root@pve1:~# ip a | grep eno
2: eno1np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
3: eno2np1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq master ovs-system state UP group default qlen 1000
4: eno3np2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
5: eno4np3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq master ovs-system state UP group default qlen 1000

p0 is on 1GB, p2 is unplugged, p1 and p3 are in a 10GB LAG to a switch.

interfaces-
Bash:
auto lo
iface lo inet loopback

## 1st LAN port 1GB switch:
auto eno1np0
iface eno1np0 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr0
        #ovs_mtu 9000

auto vmbr0
iface vmbr0 inet manual
        ovs_type OVSBridge
        ovs_ports eno1np0 pvemgt

## 2nd port 10GB switch
auto eno2np1
iface eno2np1 inet manual
        ovs_type OVSPort
        ovs_bridge bond1
        ovs_options bond_mode=balance-tcp
        ovs_mtu 9000

## 4th port 10GB switch
auto eno4np3
iface eno4np3 inet manual
        ovs_type OVSPort
        ovs_bridge bond1
        ovs_options bond_mode=balance-tcp
        ovs_mtu 9000

auto bond1
iface bond1 inet manual
        ovs_type OVSBond
        ovs_bridge vmbr1
        ovs_bonds eno2np1 eno4np3
        ovs_options bond_mode=balance-tcp lacp=active
        ovs_mtu 9000

## 10gb LAN
auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_ports bond1
        ovs_mtu 9000

## Intport 1GB management
auto pvemgt
iface pvemgt inet static
        address 10.0.0.35/24
        gateway 10.0.0.1
        ovs_type OVSIntPort
        ovs_bridge vmbr0

## Intport 10GB management
auto pvemgt2
iface pvemgt2 inet static
        address 10.2.0.35/24
#        gateway 10.2.0.1
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=2
        ovs_mtu 9000
 
Whoops a I crossed a couple lines from the bridge config in to the bond config, should have double checked the examples on the wiki... nice it still worked with my fudge-ups.