I run CentOS 8 LXD containers on CentOS 8 host.
I have the containers configured to have a static IP address and use network-scripts for configuration. This has been working OK.
I recently updated the host and one container system from CentOS 8.2 to 8.4. When I start the container, it fails to configure
the network interface. Another container, running CentOS 8.2, with essentially identical network configuration starts and configures without problem.
Here’s what I see:
$ ifup eth0 (actually running as root; markdown gobbles # as formatting)
Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
19: eth0@if20: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 00:16:3e:d4:c4:27 brd ff:ff:ff:ff:ff:ff link-netnsid 0
$ nmcli con
NAME UUID TYPE DEVICE
eth0 5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 ethernet –
$ nmcli dev
DEVICE TYPE STATE CONNECTION
eth0 ethernet unmanaged –
lo loopback unmanaged –
$ cat ifcfg-eth0