I just spent an hour trying to troubleshoot this issue and feel I’ve exhausted all threads on this forum, along with other results on Google.
I started by following this guide: https://ubuntu.com/blog/lxd-on-debian-using-snapd
Though it’s slightly outdated, it seems insanely easy. The basics are covered - /var isn’t short on storage, in fact, no partition is short on storage. This led me to believe there was a problem with the storage backend – I tried btrfs, then lvm, then dir for the hell of it - all resulting in the same thing. Obviously it has to be something else, but search results were being exhausted.
Name: horage
Status: STOPPED
Type: container
Architecture: x86_64
Created: 2022/01/22 20:41 CET
Last Used: 2022/01/22 20:42 CET
Log:
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:__cgroup_tree_create:735 - File exists - Creating the final cgroup 10(lxc.payload.horage) failed
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:cgroup_tree_create:795 - File exists - Failed to create payload cgroup 10(lxc.payload.horage)
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:__cgroup_tree_create:735 - File exists - Creating the final cgroup 10(lxc.payload.horage-1) failed
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:cgroup_tree_create:795 - File exists - Failed to create payload cgroup 10(lxc.payload.horage-1)
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:__cgroup_tree_create:735 - File exists - Creating the final cgroup 10(lxc.payload.horage-2) failed
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:cgroup_tree_create:795 - File exists - Failed to create payload cgroup 10(lxc.payload.horage-2)
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:__cgroup_tree_create:735 - File exists - Creating the final cgroup 10(lxc.payload.horage-3) failed
lxc horage 20220122194200.453 WARN cgfsng - cgroups/cgfsng.c:cgroup_tree_create:795 - File exists - Failed to create payload cgroup 10(lxc.payload.horage-3)
lxc horage 20220122194200.453 ERROR start - start.c:lxc_spawn:1734 - No space left on device - Failed to clone a new set of namespaces
lxc horage 20220122194200.453 ERROR start - start.c:__lxc_start:2074 - Failed to spawn container "horage"
lxc horage 20220122194200.453 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:867 - Received container state "ABORTING" instead of "RUNNING"
lxc horage 20220122194205.459 ERROR conf - conf.c:userns_exec_1:5038 - Failed to clone process in new user namespace
lxc horage 20220122194205.459 WARN cgfsng - cgroups/cgfsng.c:cgfsng_payload_destroy:569 - No space left on device - Failed to destroy cgroups
lxc 20220122194205.485 ERROR af_unix - af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20220122194205.485 ERROR commands - commands.c:lxc_cmd_rsp_recv_fds:127 - Failed to receive file descriptors