← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2115418] Re: wait-network-online timing out on ipv6 only VMs

 

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
Debcrafters packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2115418

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

Status in cloud-images:
  New
Status in systemd package in Ubuntu:
  New

Bug description:
  On VMs with IPv6 only networking, systemd-networkd-wait-online times
  out during boot. To reproduce, get the latest questing image from
  https://cloud-images.ubuntu.com and run:

  qemu-system-x86_64 \
    -snapshot -nographic -machine q35,accel=kvm \
    -smp 2 -m 2G \
    -netdev id=net0,ipv4=off,ipv6=on,type=user \
    -device virtio-net-pci,netdev=net0 \
    -drive if=virtio,format=qcow2,file=/tmp/questing-server-cloudimg-amd64.img

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



References