The network config below closely reproduces the issue when a LXD VM is launched with it, has openvswitch-switch installed on it (e.g. via a manual DHCP on enp5s0), and is `cloud-init clean --logs --reboot`ed.
The log does not contain the error message, but calling `cloudinit.net.get_interfaces_by_mac()` from a Python console does trigger it. If the vlans definition is removed, the instance comes up with networking (after the same reboot process). MAC_ADDRESS = "de:ad:be:ef:12:34" NETWORK_CONFIG = """\ bonds: bond0: interfaces: - enp5s0 macaddress: {0} mtu: 1500 bridges: ovs-br: interfaces: - bond0 macaddress: {0} mtu: 1500 openvswitch: {{}} ethernets: enp5s0: mtu: 1500 set-name: enp5s0 match: macaddress: {0} version: 2 vlans: ovs-br.100: dhcp4: true id: 100 link: ovs-br mtu: 1500 """.format(MAC_ADDRESS) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912844 Title: Bond with OVS bridging RuntimeError: duplicate mac found! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1912844/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs