Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04 initial up - systemd-networkd timeout (additional networks) #289

Open
ryan-ronnander opened this issue Nov 30, 2023 · 1 comment

Comments

@ryan-ronnander
Copy link

ryan-ronnander commented Nov 30, 2023

When running the initial vagrant up for the first time while having an additional network configured, the Vagrant box's systemd-networkd service encounters a Timeout occurred while waiting for network connectivity.

network_start_ubuntu_generic_2204

root@ubuntu2204:/home/vagrant# journalctl | grep systemd-network
Nov 30 21:32:51 ubuntu2204.localdomain systemd-networkd[529]: lo: Link UP
Nov 30 21:32:51 ubuntu2204.localdomain systemd-networkd[529]: lo: Gained carrier
Nov 30 21:32:51 ubuntu2204.localdomain systemd-networkd[529]: Enumeration completed
Nov 30 21:32:51 ubuntu2204.localdomain systemd-networkd[529]: eth0: Link UP
Nov 30 21:32:51 ubuntu2204.localdomain systemd-networkd[529]: eth0: Gained carrier
Nov 30 21:32:51 ubuntu2204.localdomain systemd[1]: Starting Dispatcher daemon for systemd-networkd...
Nov 30 21:32:51 ubuntu2204.localdomain systemd[1]: Started Dispatcher daemon for systemd-networkd.
Nov 30 21:32:53 ubuntu2204.localdomain systemd-networkd[529]: eth0: Gained IPv6LL
Nov 30 21:32:54 ubuntu2204.localdomain systemd-networkd[529]: eth0: DHCPv4 address 192.168.121.254/24 via 192.168.121.1
Nov 30 21:32:54 ubuntu2204.localdomain dbus-daemon[636]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=101 pid=529 comm="/lib/systemd/systemd-networkd " label="unconfined")
Nov 30 21:34:52 ubuntu2204.localdomain systemd-networkd-wait-online[616]: Timeout occurred while waiting for network connectivity.
Nov 30 21:34:52 ubuntu2204.localdomain systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Nov 30 21:34:52 ubuntu2204.localdomain systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'.
Nov 30 21:35:00 ubuntu2204.localdomain systemd-networkd[529]: eth0: Re-configuring with /run/systemd/network/10-netplan-eth0.network
Nov 30 21:35:00 ubuntu2204.localdomain systemd-networkd[529]: eth0: DHCP lease lost
Nov 30 21:35:00 ubuntu2204.localdomain dbus-daemon[636]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=101 pid=529 comm="/lib/systemd/systemd-networkd " label="unconfined")

Vagrant file:

Vagrant.configure("2") do |config|
  config.vm.box = "generic/ubuntu2204"
  config.vm.network "private_network", ip: "192.168.222.234", network_name: "replication", created: false
end

This issue occurs on both libvirt and VirtualBox and only occurs with the generic/ubuntu2204 Vagrant box. Neither ubuntu/jammy64 or generic/ubuntu2004 have any issues with extra network adapters and they both boot as expected.

@dereknola
Copy link

dereknola commented Mar 15, 2024

This is still present on the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants