Public bug reported: When using bonds and OVS bridging cloud-init fails with
2021-01-22 18:44:08,094 - util.py[WARNING]: failed stage init failed run of stage init ------------------------------------------------------------ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 653, in status_wrapper ret = functor(name, args) File "/usr/lib/python3/dist-packages/cloudinit/cmd/main.py", line 362, in main_init init.apply_network_config(bring_up=bool(mode != sources.DSMODE_LOCAL)) File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 699, in apply_network_config self.distro.networking.wait_for_physdevs(netcfg) File "/usr/lib/python3/dist-packages/cloudinit/distros/networking.py", line 147, in wait_for_physdevs present_macs = self.get_interfaces_by_mac().keys() File "/usr/lib/python3/dist-packages/cloudinit/distros/networking.py", line 75, in get_interfaces_by_mac return net.get_interfaces_by_mac( File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 769, in get_interfaces_by_mac return get_interfaces_by_mac_on_linux( File "/usr/lib/python3/dist-packages/cloudinit/net/__init__.py", line 839, in get_interfaces_by_mac_on_linux raise RuntimeError( RuntimeError: duplicate mac found! both 'br-ex.100' and 'br-ex' have mac 'e2:86:e6:60:4c:44' snap-id: shY22YTZ3RhJJDOj0MfmShTNZTEb1Jiq tracking: 2.9/candidate refresh-date: 3 days ago, at 20:03 UTC channels: 2.9/stable: 2.9.1-9153-g.66318f531 2021-01-19 (11322) 150MB - 2.9/candidate: ↑ 2.9/beta: ↑ 2.9/edge: 2.9.1-9156-g.fe186aec0 2021-01-21 (11371) 150MB - latest/stable: – latest/candidate: – latest/beta: – latest/edge: 2.10.0~alpha1-9367-g.e3a85359d 2021-01-22 (11396) 151MB - 2.8/stable: 2.8.2-8577-g.a3e674063 2020-09-01 (8980) 140MB - 2.8/candidate: 2.8.3~rc1-8583-g.9ddc8051f 2020-11-19 (10539) 137MB - 2.8/beta: 2.8.3~rc1-8583-g.9ddc8051f 2020-11-19 (10539) 137MB - 2.8/edge: 2.8.3~rc1-8587-g.0ebf4fb25 2021-01-07 (11161) 139MB - 2.7/stable: 2.7.3-8290-g.ebe2b9884 2020-08-21 (8724) 144MB - 2.7/candidate: ↑ 2.7/beta: ↑ 2.7/edge: 2.7.3-8294-g.85233d83e 2020-11-03 (10385) 143MB - installed: 2.9.1-9153-g.66318f531 (11322) 150MB - ** Affects: cloud-init (Ubuntu) Importance: Undecided Assignee: Dan Watkins (oddbloke) Status: New ** Attachment added: "Log files" https://bugs.launchpad.net/bugs/1912844/+attachment/5455814/+files/duplicate-mac-addr-logs.tar.gz -- 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