This bug is believed to be fixed in cloud-init in version 23.2. If this is still a problem for you, please make a comment and set the state back to New
Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/2008888 Title: RuntimeError: duplicate mac found! both 'wwan1' and 'wwan0' Status in cloud-init: Fix Released Bug description: Hi This bug is a variant of https://bugs.launchpad.net/cloud-init/+bug/1997922. I got this error only when PXE booting a target with a modem that has dual interface support, and using ubuntu-22.04.2-live-server-amd64.iso or ubuntu-22.04.1-live-server-amd64.iso. After a manual installation, the target boots fine without this error. Detected modems that cause this error: Quectel EG25 Quectel RM510Q-GLHA Sierra Wireless MC7455 Failure in cloud-init prevent automatic installation of targets in our production. Tested solution: After studying the info in bug 1997922, I downloaded https://github.com/canonical/cloud-init/blob/main/cloudinit/net/__init__.py and changed line 1043 to: if driver == "mscc_felix" or driver == "fsl_enetc" or driver == "qmi_wwan": Then created a customized version of ubuntu-22.04.2-live-server- amd64.iso and tested in our production line, and now everything works fine. Logs: cat > get_driver.py <<EOF from cloudinit.net import device_driver import sys print(device_driver(sys.argv[1])) EOF for nic in wwan0 wwan1 eno1 eno2 eno3 eno4 eno5 eno6; do echo "----- $nic" ls -l /sys/class/net/$nic/ python3 ./get_driver.py $nic; done Output: ---- wwan0 lrwxrwxrwx 1 root root 0 Mar 1 08:11 /sys/class/net/wwan0 -> ../../devices/pci0000:00/0000:00:15.0/usb2/2-1/2-1:1.4/net/wwan0 qmi_wwan ---- wwan1 lrwxrwxrwx 1 root root 0 Mar 1 08:11 /sys/class/net/wwan1 -> ../../devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.4/net/wwan1 qmi_wwan ---- eno1 lrwxrwxrwx 1 root root 0 Mar 1 08:10 /sys/class/net/eno1 -> ../../devices/pci0000:00/0000:00:09.0/0000:02:00.0/net/eno1 igb ---- eno2 lrwxrwxrwx 1 root root 0 Mar 1 08:10 /sys/class/net/eno2 -> ../../devices/pci0000:00/0000:00:0a.0/0000:03:00.0/net/eno2 igb ---- eno3 lrwxrwxrwx 1 root root 0 Mar 1 08:10 /sys/class/net/eno3 -> ../../devices/pci0000:00/0000:00:0b.0/0000:04:00.0/net/eno3 igb ---- eno4 lrwxrwxrwx 1 root root 0 Mar 1 08:10 /sys/class/net/eno4 -> ../../devices/pci0000:00/0000:00:0c.0/0000:05:00.0/net/eno4 igb ---- eno5 lrwxrwxrwx 1 root root 0 Mar 1 08:10 /sys/class/net/eno5 -> ../../devices/pci0000:00/0000:00:16.0/0000:0a:00.0/net/eno5 ixgbe ---- eno6 lrwxrwxrwx 1 root root 0 Mar 1 08:10 /sys/class/net/eno6 -> ../../devices/pci0000:00/0000:00:16.0/0000:0a:00.1/net/eno6 ixgbe Please let me know if you want more info or help for testing a final solution To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/2008888/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp