Here the "same?" problem. My environment it's a juju model with a jammy
lxc deployed on a jammy host:

ceph-mon/27           error     idle   14/lxd/0  10.93.6.24
hook failed: "install"


Inside the lxc we see this:

[  653.060669] cloud-init[312]: 2025-02-26 10:06:20,530 - ubuntu.py[ERROR]: 
Failed to wait for network: Unexpected error while running command.
[  653.060858] cloud-init[312]: Command: ['systemctl', 'start', 
'systemd-networkd-wait-online.service']
[  653.061003] cloud-init[312]: Exit code: 1
[  653.061100] cloud-init[312]: Reason: -
[  653.061195] cloud-init[312]: Stdout:
[  653.061290] cloud-init[312]: Stderr: Job for 
systemd-networkd-wait-online.service failed because the control process exited 
with error code.
[  653.061393] cloud-init[312]:         See "systemctl status 
systemd-networkd-wait-online.service" and "journalctl -xeu 
systemd-networkd-wait-online.service" for details.


root@juju-841b16-14-lxd-0:~# apt-cache policy systemd
systemd:
  Installed: 249.11-0ubuntu3.12
  Candidate: 249.11-0ubuntu3.12
  Version table:
 *** 249.11-0ubuntu3.12 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     249.11-0ubuntu3.7 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     249.11-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages


root@juju-841b16-14-lxd-0:~# SYSTEMD_LOG_LEVEL=debug 
/lib/systemd/systemd-networkd-wait-online --timeout=10
Found link 10
Found link 1
eth0: link is not managed by networkd (yet?).
lo: link is ignored


root@juju-841b16-14-lxd-0:~# sudo netplan get
network:
  version: 2
  ethernets:
    eth0:
      match:
        macaddress: "00:16:3e:d5:e2:d4"
      addresses:
      - "10.93.6.24/23"
      nameservers:
        addresses:
        - 127.0.0.53
      gateway4: 10.93.6.1

root@juju-841b16-14-lxd-0:~# sudo netplan apply
root@juju-841b16-14-lxd-0:~# cat /run/systemd/network/10-netplan-eth0.network
[Match]
PermanentMACAddress=00:16:3e:d5:e2:d4

[Network]
LinkLocalAddressing=ipv6
Address=10.93.6.24/23
Gateway=10.93.6.1
DNS=127.0.0.53

root@juju-841b16-14-lxd-0:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
12: eth0@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UP group default qlen 1000
    link/ether 00:16:3e:d5:e2:d4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::216:3eff:fed5:e2d4/64 scope link
       valid_lft forever preferred_lft forever

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2036358

Title:
  systemd wait-online now times out after jammy and lunar upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2036358/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to