My setup is a little bit different, but the problem is the same. I have
a bridge device for LXD. This is an extra bridge for testing purpose.

root@rapper:~# cat /etc/netplan/91-test-bridges.yaml 
network:
  version: 2
  renderer: networkd
  bridges:
    # the key name is the name for virtual (created) interfaces;
    # no ‘match’ or ‘set-name’ attributes are allowed.
    testbr0:
      addresses:
      - 10.82.0.1/24
      # gateway4: 192.168.178.1

At startup there are no containers using this bridge, and that causes the
2 minute timeout of systemd-networkd-wait-online

root@rapper:~# networkctl
IDX LINK             TYPE               OPERATIONAL SETUP     
  1 lo               loopback           carrier     unmanaged 
  2 enp2s0           ether              carrier     configured
  3 testbr0          ether              no-carrier  configuring
  4 br0              ether              routable    configured

root@rapper:~# /lib/systemd/systemd-networkd-wait-online --timeout=20 
--interface testbr0
ignoring: lo
Event loop failed: Connection timed out

I couldn't find a way to skip my test bridge for this online check, and
still keep it controlled by networkd.

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

Title:
  systemd-networkd-wait-online.service Failed to start Wait for Network
  to be Configured with bridge

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

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

Reply via email to