Thanks to @chad.smith and @dbungert I was able to do some more testing of my PPA builds inside the cloud-init CI and inside custom subiquity installer images (Server & Desktop).
At first, I observed the boot process being stuck when starting the desktop-live session, due to a circular systemd unit dependency, which was also observed during first boot after a server-live installation and inside one cloud-init integration test (tests/integration_tests/datasources/test_nocloud.py::test_nocloud_seedfrom_vendordata). The problem was caused by the "Before=netplan-configure.service" dependency suggested in comment #3 and nicely analyzed by Chad: """ the issue I think which is an ordering cycle uncaught at system generator ordering/planning time 1. sd-nd-wait-online is After sd-nd which is After netplan-configure 2. netplan-configure is Before cloud-init-network.service 3. cloud-init-network.service at runtime (not at system ordering time) calls systemctl start systemd-networkd-wait-online.service which blocks on sd-nd-wait-online completing, which still waits on netplan-configure because of systemd After= which we can never get to because sd-nd-wait-online is After=netplan-configure.service """ After removing the ordering between cloud-init-network.service and netplan-configure.service, the cloud-init CI was turning green, desktop- live and server-live sessions can be booted, installed and rebooted as expected. Including "autoinstall" from an external URL (https://people.ubuntu.com/~slyon/autoinstall/) for Desktop & Server, which means networking is working as expected at all the different installation stages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2133724 Title: Update to Netplan v1.2, to enable the split generator To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2133724/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
