Was there any backwards compatible testing done??? Did a system update and suddenly none of my containers would start. Lxdbr0 was set up by lxd init, years ago. Eth0 was as part of default, Suddenly getting errors.
Error: Failed start validation for device “eth0”: Instance DNS name “mimir” already used on network
Try lxc info --show-log mimir
for more info
~$ lxc config show mimir
architecture: x86_64
config:
boot.autostart.delay: "10"
boot.autostart.priority: "99"
image.architecture: amd64
image.description: ubuntu 18.04 LTS amd64 (release) (20181029)
image.label: release
image.os: ubuntu
image.release: bionic
image.serial: "20181029"
image.version: "18.04"
limits.cpu: "2"
volatile.base_image: 30b9f587eb6fb50566f4183240933496d7b787f719aafb4b58e6a341495a38ad
volatile.cloud-init.instance-id: 48aa28be-d718-4733-820c-1cc615dc1608
volatile.eth0.hwaddr: 00:16:3e:7d:86:c4
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":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.power: STOPPED
volatile.last_state.ready: "false"
volatile.uuid: 0e1228c2-5e4c-4fc2-a3f6-231892ab72ec
devices:
lxdbr0:
nictype: bridged
parent: lxdbr0
type: nic
shared-storage:
path: /storage
source: /storagepool/storage/lxc_shared
type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""
~$ lxc profile show default
config: {}
description: Default LXD profile
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: lxd
type: disk
name: default
used_by:
- /1.0/instances/tech-nuage
- /1.0/instances/collaboraonline
- /1.0/instances/nextcloud
- /1.0/instances/gitlab
- /1.0/instances/airstack-docker
- /1.0/instances/mimir
- /1.0/instances/webproxy
- /1.0/instances/vulcan
- /1.0/instances/odin
~$ lxc network show lxdbr0
config:
ipv4.address: 10.66.146.1/24
ipv4.nat: "true"
ipv6.address: none
ipv6.nat: "false"
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/instances/airstack-docker
- /1.0/instances/collaboraonline
- /1.0/instances/collaboraonline
- /1.0/instances/gitlab
- /1.0/instances/gitlab
- /1.0/instances/mimir
- /1.0/instances/mimir
- /1.0/instances/nextcloud
- /1.0/instances/nextcloud
- /1.0/instances/odin
- /1.0/instances/tech-nuage
- /1.0/instances/tech-nuage
- /1.0/instances/vulcan
- /1.0/instances/webproxy
- /1.0/profiles/default
managed: true
status: Created
locations:
- none
Doing the suggested
lxc profile device remove default eno1
does nothing because I don’t have a en01, changing it to eth0 does allow containers to start,but… without any networking so that is pointless.
LXD/LXC has been working rock solid for years, and was set it and forget it as far as networking was concerned. Someone broke something in the 5.9 version.
~$ lxc --version
5.9