Thanks for your answer Stefan.

@slyon Here are more logs and the netplan config:

ubuntu@ubuntu:~$ sudo journalctl -u systemd-networkd-wait-online.service
Jun 26 13:51:18 ubuntu systemd[1]: Starting 
systemd-networkd-wait-online.service - Wait for Network to be Configured...
Jun 26 13:53:22 ubuntu systemd-networkd-wait-online[1018]: Timeout occurred 
while waiting for network connectivity.
Jun 26 13:53:22 ubuntu systemd[1]: systemd-networkd-wait-online.service: Main 
process exited, code=exited, status=1/FAILURE
Jun 26 13:53:22 ubuntu systemd[1]: systemd-networkd-wait-online.service: Failed 
with result 'exit-code'.
Jun 26 13:53:22 ubuntu systemd[1]: Failed to start 
systemd-networkd-wait-online.service - Wait for Network to be Configured.
ubuntu@ubuntu:~$ sudo netplan get
network:
  version: 2
  ethernets:
    enp0s2:
      match:
        macaddress: "52:54:00:12:34:56"
      dhcp4: true
      dhcp6: true
      set-name: "enp0s2"
ubuntu@ubuntu:~$ 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 noprefixroute
       valid_lft forever preferred_lft forever
2: enp0s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
    link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
    altname enx525400123456
    inet6 fec0::5054:ff:fe12:3456/64 scope site dynamic mngtmpaddr noprefixroute
       valid_lft 86227sec preferred_lft 14227sec
    inet6 fe80::5054:ff:fe12:3456/64 scope link proto kernel_ll
       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/2115418

Title:
  wait-network-online timing out on ipv6 only VMs

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2115418/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to