Hello,I have finally found a solution to the issue with my netplan.io configuration file.
The configuration file for the bug report had a circular dependency on the bridge. Under bridges.dsw-host.interfaces, I wrote [bond0, vlan3, vlan44]. However, VLAN3 and VLAN44 already have 'link: dsw-host'. Listing them in interfaces causes Netplan to generate an ovs-vsctl add-port command on interfaces that do not exist before the bridge is created, resulting in the netplan-ovs-dsw-host.service failing immediately. Only 'bond0' should be listed in 'interfaces'.
Here is a working copy of the netplan declaration file:
network:
version: 2
renderer: networkd
ethernets:
eno1: {dhcp4: false, dhcp6: false, mtu: 9000}
eno2: {dhcp4: false, dhcp6: false, mtu: 9000}
eno3: {dhcp4: false, dhcp6: false, mtu: 9000}
eno4: {dhcp4: false, dhcp6: false, mtu: 9000}
bonds:
bond0:
interfaces: [eno1, eno2, eno3, eno4]
parameters:
mode: balance-tcp
mtu: 9000
openvswitch:
lacp: active # Uses 802.3ad mode with LACP
bridges:
dsw-host:
interfaces: [bond0]
mtu: 9000
openvswitch: {}
dhcp4: false
dhcp6: false
vlans:
vlan3:
mtu: 9000
dhcp4: false
dhcp6: false
accept-ra: false
id: 3
link: dsw-host
openvswitch: {}
addresses:
- 172.16.0.4/23
- 2001:678:3fc:3::4/64
- fe80::3:4/64
routes:
- to: default
via: 172.16.0.2
- to: "::/0"
via: fe80::3:2
on-link: true
nameservers:
addresses: [172.16.0.2, fe80::3:2]
vlan44:
dhcp4: false
dhcp6: false
accept-ra: false
id: 44
link: dsw-host
openvswitch: {}
addresses:
- 198.18.44.1/22
- 2001:678:3fc:2c::1/64
- fe80::2c:1/64
Sorry for the noise.
Regards,
--
Philippe Latu –https://inetdoc.net
OpenPGP: Philippe Latu – philippe.latu(at)inetdoc.net
Fingerprint: 911E D30B 23D9 9B39 5918 B95E 8EFA D958 AFC1 49A2
Key:https://inetdoc.net/.well-known/pgp-key.txt
OpenPGP_signature.asc
Description: OpenPGP digital signature

