Hi,
Since yesterday all my containers stopped working. Restarting the server and the service did not solve the issue and no error are displayed.
Commands like lxc list
hang (for at least several hours).
Help welcome Thank you!
Here a partial log (after, it repeats forever)
# cat /var/snap/lxd/common/lxd/logs/lxd.log
t=2021-12-08T23:01:15+0100 lvl=info msg="LXD is starting" mode=normal path=/var/snap/lxd/common/lxd version=4.20
t=2021-12-08T23:01:15+0100 lvl=info msg="Kernel uid/gid map:"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - u 0 0 4294967295"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - g 0 0 4294967295"
t=2021-12-08T23:01:15+0100 lvl=info msg="Configured LXD uid/gid map:"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - u 0 1000000 1000000000"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - g 0 1000000 1000000000"
t=2021-12-08T23:01:15+0100 lvl=info msg="Kernel features:"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - closing multiple file descriptors efficiently: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - netnsid-based network retrieval: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - pidfds: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - core scheduling: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - uevent injection: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - seccomp listener: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - seccomp listener continue syscalls: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - seccomp listener add file descriptors: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - attach to namespaces via pidfds: no"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - safe native terminal allocation : yes"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - unprivileged file capabilities: yes"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - cgroup layout: hybrid"
t=2021-12-08T23:01:15+0100 lvl=warn msg=" - Couldn't find the CGroup memory swap accounting, swap limits will be ignored"
t=2021-12-08T23:01:15+0100 lvl=info msg=" - shiftfs support: disabled"
t=2021-12-08T23:01:16+0100 lvl=warn msg="Instance type not operational" driver=qemu err="vhost_vsock kernel module not loaded: Failed to run: modprobe -b vhost_vsock: modprobe: ERROR: could not insert 'vhost_vsock': Device or resource busy" type=virtual-machine
t=2021-12-08T23:01:16+0100 lvl=info msg="Initializing local database"
t=2021-12-08T23:01:16+0100 lvl=info msg="Set client certificate to server certificate" fingerprint=6066c4380317964b507fb4f121010d19d02cbdd3d3ee138c945a9f1919c4b78a
t=2021-12-08T23:01:16+0100 lvl=info msg="Starting cluster handler:"
t=2021-12-08T23:01:16+0100 lvl=info msg="Starting /dev/lxd handler:"
t=2021-12-08T23:01:16+0100 lvl=info msg=" - binding devlxd socket" socket=/var/snap/lxd/common/lxd/devlxd/sock
t=2021-12-08T23:01:16+0100 lvl=info msg="REST API daemon:"
t=2021-12-08T23:01:16+0100 lvl=info msg=" - binding Unix socket" inherited=true socket=/var/snap/lxd/common/lxd/unix.socket
t=2021-12-08T23:01:16+0100 lvl=info msg=" - binding TCP socket" socket=192.168.1.10:8443
t=2021-12-08T23:01:16+0100 lvl=info msg="Initializing global database"
t=2021-12-08T23:01:16+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:01:16+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:16+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:16+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:17+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:18+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:19+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:20+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:21+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:22+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:23+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:24+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:25+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:28+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:01:28+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:28+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:29+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:29+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:30+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:31+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:32+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:33+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:34+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:35+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:36+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:37+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:40+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:01:40+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:41+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:41+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:42+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:43+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:44+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:45+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:46+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:47+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:48+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:49+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:50+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:53+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:01:53+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:53+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:53+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:54+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:55+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:56+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:57+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:58+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:01:59+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:00+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:01+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:02+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:05+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:02:05+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:05+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:06+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:07+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:08+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:09+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:10+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:11+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:12+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:13+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:14+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:15+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:18+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:02:18+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:18+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:18+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:19+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:20+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:21+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:22+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:23+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:24+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:25+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:26+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:27+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:30+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:02:30+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:30+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:31+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:31+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:32+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:33+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:34+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:35+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:36+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:37+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:38+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:39+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:40+0100 lvl=eror msg="Failed connecting to global database" attempt=6 err="failed to create dqlite connection: no available dqlite leader server found"
t=2021-12-08T23:02:42+0100 lvl=info msg="Connecting to global database"
t=2021-12-08T23:02:42+0100 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:43+0100 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:43+0100 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:44+0100 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:45+0100 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:46+0100 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:47+0100 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:48+0100 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:49+0100 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:50+0100 lvl=warn msg="Dqlite: attempt 10: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:51+0100 lvl=warn msg="Dqlite: attempt 11: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:52+0100 lvl=warn msg="Dqlite: attempt 12: server 1: dial: Failed to connect to HTTP endpoint: dial tcp: address 1: missing port in address"
t=2021-12-08T23:02:53+0100 lvl=eror msg="Failed connecting to global database" attempt=7 err="failed to create dqlite connection: no available dqlite leader server found"
OS: Ubuntu 18.04
Installed using snap.
LXD v4.20 rev. 21902