yaml file succeeds from commandline, but hangs and does not configure the interfaces on reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Expired
|
Low
|
Unassigned |
Bug Description
I am attempting to install a bridge for use with KVM or Xen and have come across a possible bug.
I am not ruling out a configuration issue, but it is successful when running from the cmdline.
This is a fresh install of Ubuntu 17.10.
Linux caballito 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The below yaml file works from the commandline: sudo netplan apply
However, on boot, netplan appears to hang for a few minutes and NO network configuration is applied. After about 3-5min of waiting for the boot timeout and a prompt to appear, the network configuration can be applied.
## This version works from cmdline, but not on boot.
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
dhcp4: false
bridges:
br0:
interfaces: [enp4s0]
dhcp4: true
I have also tried breaking up into two files - 01-ethernets.yaml and 05-bridges.yaml, with the same results. (works from command line but not on boot)
This below file works perfectly fine - without the bridge information:
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
dhcp4: yes
OMG! Just figured it out after posting!!
I had previously installed bridge-utils for KVM and removing them appears to correct the issue.