i did a fresh install of lxd on a new system. ubuntu 18.04 host. i have an older host with same os and has been running lxd for a few years - no issue.
new system can’t get an ip address from local dhcp server.
i’ve set up a linux bridge on the host called br0.
default template:
config: {}
description: “”
devices:
eth0:
name: eth0
nictype: bridged
parent: br0
type: nic
root:
path: /
pool: lxd
type: disk
name: default
used_by:
- /1.0/containers/u18
u18 container:
architecture: x86_64
config:
image.architecture: amd64
image.description: ubuntu 18.04 LTS amd64 (release) (20191205)
image.label: release
image.os: ubuntu
image.release: bionic
image.serial: “20191205”
image.type: squashfs
image.version: “18.04”
volatile.base_image: f75468c572cc50eca7f76391182e6fdaf58431f84c3d35a2c92e83814e701698
volatile.eth0.host_name: veth988ba8a6
volatile.eth0.hwaddr: 00:16:3e:f8:eb:91
volatile.idmap.base: “0”
volatile.idmap.current: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000},{“Isuid”:false,“Isgid”:true,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000}]’
volatile.idmap.next: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000},{“Isuid”:false,“Isgid”:true,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000}]’
volatile.last_state.idmap: ‘[{“Isuid”:true,“Isgid”:false,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000},{“Isuid”:false,“Isgid”:true,“Hostid”:1000000,“Nsid”:0,“Maprange”:1000000000}]’
volatile.last_state.power: RUNNING
devices:
eth0:
name: eth0
nictype: bridged
parent: br0
type: nic
root:
path: /
pool: lxd
type: disk
ephemeral: false
profiles:
- default
stateful: false
description: “”
but it won’t get an ip addres…
the same bridge, br0, is used successfully with kvm and the VMs get IP addresses.
been banging my head for hours trying to figure this out…
compared containers from my other working system and they look the same to me. the only real differences in the machines besides newer hardware are:
- older machine is running 4.15 kernel, newer machine is running 5.0 kernel:
Linux jay-desktop 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
and newer maching is also running UEFI vs legacy bios
what else could help trace the problem here?