Hi.
After snap updated to version 5.3 LXD started to get weird, even lxc ls got super slow.
installed: 5.3-924be6a (23243) 107MB -
But I would like a solution to the XFS problem, after a reboot on the host I couldn’t mount this XFS device inside the container, I managed to change it to another FS and it mounted without problems.
I got this error:
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart mongo-tests /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/mongo-tests/lxc.conf:
Trylxc info --show-log mongo-tests
for more info
Log:
lxc mongo-tests 20220701115940.639 WARN conf - ../src/src/lxc/conf.c:lxc_map_ids:3592 - newuidmap binary is missing
lxc mongo-tests 20220701115940.639 WARN conf - ../src/src/lxc/conf.c:lxc_map_ids:3598 - newgidmap binary is missing
lxc mongo-tests 20220701115940.640 WARN conf - ../src/src/lxc/conf.c:lxc_map_ids:3592 - newuidmap binary is missing
lxc mongo-tests 20220701115940.640 WARN conf - ../src/src/lxc/conf.c:lxc_map_ids:3598 - newgidmap binary is missing
lxc mongo-tests 20220701115940.779 ERROR conf - ../src/src/lxc/conf.c:mount_entry:2459 - Operation not permitted - Failed to mount "/var/snap/lxd/common/lxd/devices/mongo-tests/disk.MONGO.var-lib-mongodb" on "/var/snap/lxd/common/lxc//var/lib/mongodb"
lxc mongo-tests 20220701115940.779 ERROR conf - ../src/src/lxc/conf.c:lxc_setup:4375 - Failed to setup mount entries
lxc mongo-tests 20220701115940.779 ERROR start - ../src/src/lxc/start.c:do_start:1275 - Failed to setup container "mongo-tests"
lxc mongo-tests 20220701115940.779 ERROR sync - ../src/src/lxc/sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 3)
lxc mongo-tests 20220701115940.783 WARN network - ../src/src/lxc/network.c:lxc_delete_network_priv:3631 - Failed to rename interface with index 0 from "eth0" to its initial name "vethbb155270"
lxc mongo-tests 20220701115940.783 ERROR start - ../src/src/lxc/start.c:__lxc_start:2074 - Failed to spawn container "mongo-tests"
lxc mongo-tests 20220701115940.783 ERROR lxccontainer - ../src/src/lxc/lxccontainer.c:wait_on_daemonized_start:877 - Received container state "ABORTING" instead of "RUNNING"
lxc mongo-tests 20220701115940.783 WARN start - ../src/src/lxc/start.c:lxc_abort:1039 - No such process - Failed to send SIGKILL via pidfd 17 for process 795199
lxc mongo-tests 20220701115940.930 WARN conf - ../src/src/lxc/conf.c:lxc_map_ids:3592 - newuidmap binary is missing
lxc mongo-tests 20220701115940.930 WARN conf - ../src/src/lxc/conf.c:lxc_map_ids:3598 - newgidmap binary is missing
lxc 20220701115940.970 ERROR af_unix - ../src/src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20220701115940.970 ERROR commands - ../src/src/lxc/commands.c:lxc_cmd_rsp_recv_fds:127 - Failed to receive file descriptors for command "get_state"
Any ideas?