Hello,
I have a strange problem… somtimes I can just start 10 containers other times it is one or two more. The maximum I reached today, is 14.
I start one container after the other. There is no error message. But when I run “lxc-ls --fancy” I see that the last containers have no IP address.
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
container RUNNING 0 - - - false
At first I thought it was a network problem. But it seems like the container starts only partially.
I can enter the container with “lxc-mirror” but get the following errors when executing commands.
root@container:~# dhclient
Failed to connect to bus: No such file or directory
root@container:~# shutdown -r now
Failed to connect to bus: Datei oder Verzeichnis nicht gefunden
Failed to talk to init daemon.
Wenn stopping the container with “lxc-stop” it takes about a minute to stop it.
The container’s syslog files last enties are from the last successfull shutdown.
The host’s syslog shows the following for every container, not just the broken one…
Dec 20 19:32:58 homesrv systemd-udevd[9710]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 20 19:32:58 homesrv systemd-udevd[9710]: Could not generate persistent MAC address for vethX0NR3L: No such file or directory
Dec 20 19:32:58 homesrv systemd-udevd[9711]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-subsystem-net-devices-vethX0NR3L.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-subsystem-net-devices-vethX0NR3L.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-subsystem-net-devices-vethX0NR3L.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-subsystem-net-devices-vethX0NR3L.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-subsystem-net-devices-vethX0NR3L.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-subsystem-net-devices-vethX0NR3L.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-devices-virtual-net-vethX0NR3L.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-devices-virtual-net-vethX0NR3L.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-devices-virtual-net-vethX0NR3L.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-devices-virtual-net-vethX0NR3L.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-devices-virtual-net-vethX0NR3L.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-devices-virtual-net-vethX0NR3L.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-subsystem-net-devices-veth3YE0FR.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-subsystem-net-devices-veth3YE0FR.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-subsystem-net-devices-veth3YE0FR.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-subsystem-net-devices-veth3YE0FR.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-subsystem-net-devices-veth3YE0FR.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-subsystem-net-devices-veth3YE0FR.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-devices-virtual-net-veth3YE0FR.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-devices-virtual-net-veth3YE0FR.device.wants: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-devices-virtual-net-veth3YE0FR.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-devices-virtual-net-veth3YE0FR.device.requires: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.config/systemd/user/sys-devices-virtual-net-veth3YE0FR.device.d: Permission denied
Dec 20 19:32:58 homesrv systemd[7891]: Failed to canonicalize path /home/therebel/.local/share/systemd/user/sys-devices-virtual-net-veth3YE0FR.device.d: Permission denied
Dec 20 19:33:00 homesrv avahi-daemon[1100]: Joining mDNS multicast group on interface veth3YE0FR.IPv6 with address fe80::fc3e:79ff:fee6:697a.
Dec 20 19:33:00 homesrv avahi-daemon[1100]: New relevant interface veth3YE0FR.IPv6 for mDNS.
Dec 20 19:33:00 homesrv avahi-daemon[1100]: Registering new address record for fe80::fc3e:79ff:fee6:697a on veth3YE0FR.*.
Host System: Ubuntu 18.04 Server
LXC Version: 3.0.3-0ubuntu1~18.04.1
Container: Ubuntu bionic
Filesystem: btrfs
Container Config
# Common configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
# Container specific configuration
lxc.rootfs.path = /var/lib/lxc/container/rootfs
lxc.mount.fstab = /var/lib/lxc/container/fstab
lxc.uts.name = container
lxc.arch = amd64
# Network configuration
lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link = br0
lxc.net.0.hwaddr = 00:16:3e:22:07:46