I cannot launch any containers from images templates. I can only start virtual machines and existing containers. I tried different templates like local:archlinux, local:debian/11 with the below result:
$ Creating container1 Starting container1 Error: Failed to run: /usr/sbin/lxd forkstart container1 /var/lib/lxd/containers /var/log/lxd/container1/lxc.conf: Try `lxc info --show-log local:container1` for more info $ lxc info --show-log local:container1 ⚡[..........] Name: container1 Location: none Remote: unix:// Architecture: x86_64 Created: 2021/09/06 15:56 UTC Status: Stopped Type: container Profiles: default Log: lxc container1 20210906155621.645 ERROR conf - conf.c:run_buffer:323 - Script exited with status 32 lxc container1 20210906155621.645 ERROR start - start.c:lxc_init:850 - Failed to run lxc.hook.pre-start for container "container1" lxc container1 20210906155621.645 ERROR start - start.c:__lxc_start:1987 - Failed to initialize container "container1" lxc container1 20210906155652.864 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:860 - No such file or directory - Failed to receive the container state lxc 20210906155652.867 ERROR af_unix - af_unix.c:lxc_abstract_unix_recv_fds_iov:220 - Connection reset by peer - Failed to receive response lxc 20210906155652.867 ERROR commands - commands.c:lxc_cmd_rsp_recv_fds:129 - Failed to receive file descriptors
LXD version: 4.0.7
Is it an issue related to templates or LXD itself? Can this problem be caused by running the background operation upgrading downloaded LXD images?
Any help is appreciated.