I am running ubuntu 20.04.3 (kernel 5.4.0-91-generic), with a stock (all defaults) install of lxd 4.21 via snap.
I noticed after creating ~5 containers (ubuntu 20.04), containers stopped being assigned IPs when i launched them, and required me to do a full reboot of the host for the container to receive an IP address. This worked fine as a workaround until I created an 11th container, and now it will only assign 10 IPs and never assign the 11th container an IP.
Here is my config for lxdbr0:
config:
ipv4.address: 10.177.123.1/24
ipv4.nat: "true"
ipv6.address: fd42:7917:fc2a:4349::1/64
ipv6.nat: "true"
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/profiles/default
- (all of my containers)
managed: true
status: Created
locations:
- none
Configuration for the containers:
architecture: x86_64
config:
image.architecture: amd64
image.description: ubuntu 20.04 LTS amd64 (release) (20211108)
image.label: release
image.os: ubuntu
image.release: focal
image.serial: "20211108"
image.type: squashfs
image.version: "20.04"
volatile.base_image: bd2ffb937c95633a28091e6efc42d6c7b1474ad8eea80d6ed8df800e44c6bfdd
volatile.eth0.host_name: veth6e6694e2
volatile.eth0.hwaddr: 00:16:3e:59:96:95
volatile.idmap.base: "0"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":100000>
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,">
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":100>
volatile.last_state.power: RUNNING
volatile.uuid: 2cd96e80-32e7-4173-8cd7-361ab49c72dc
devices: {}
ephemeral: false
profiles:
- default
stateful: false
description: ""
Default profile:
config: {}
description: Default LXD profile
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
used_by:
- (all of my containers)