[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-08-26 Thread Lukas Märdian
Waiting for all (non-optional) interfaces to be ready on a link-local level ("degraded") and one interface having a global IP ("routable") is now implemented in Netplan v1.1. This is according to the "Definition of an online system" [spec]. And is implemented via a /run/systemd/system/systemd-netw

[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-07-10 Thread Lukas Märdian
More improvements landing via https://github.com/canonical/netplan/pull/482 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063973 Title: network-online.target is reached before netplan-configured in

[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-05-06 Thread Nick Grealy
Hi all, I didn't see a response to the workaround, so just dropping a message. I had the same issue. Confirming that workaround - configuring my `/etc/netplan/50-cloud-init.yaml` to match the network interface based on macaddress (`ip a`), and applying the change (`netplan generate && netplan --d

[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-04-29 Thread Danilo Egea Gondolfo
Hi Lucas, In your scenario the best approach would probably be relying on Netplan to rename the interface for you instead of creating an external udev rule. I'd suggest you use "set-name: eno1" and continue to use "match" in your configuration. Something like this: ``` network: version: 2 re

[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-04-29 Thread Lukas Märdian
** Tags added: foundations-todo network-online-ordering ** Changed in: netplan.io (Ubuntu) Status: New => Triaged ** Changed in: netplan.io (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-04-28 Thread Lucas Nussbaum
I think I understood this. I have a udev rule to force the NIC name to eno1, which is not the driver's default (it is eno1np0). I did not regenerate the initramfs, so that rule did not propagate there. What happens is: - initramfs is executed. The NIC is renamed to eno1np0 (driver's default). - s

[Bug 2063973] Re: network-online.target is reached before netplan-configured interfaces are online

2024-04-27 Thread Lucas Nussbaum
It worked fine in Ubuntu 23.10: network-online.target is only reached after eno1 is configured. # journalctl -b |grep -e network -e grid5000.mount Apr 28 00:23:06 localhost kernel: drop_monitor: Initializing network drop monitor service Apr 28 00:23:06 localhost systemd[1]: Listening on systemd-n