After doing an upgrade of Ubuntu to 18.04.2 TLS and upgrading all applications LXD does not startup anymore.
root@dev ~ # snap list
Name Version Rev Tracking Publisher Notes
core 16-2.37.2 6405 stable canonical✓ core
lxd 3.10 10234 stable canonical✓ -
Running lxd in debug mode show this:
root@dev ~ # lxd --debug --group lxd
INFO[02-26|15:56:28] LXD 3.10 is starting in normal mode path=/var/snap/lxd/common/lxd
INFO[02-26|15:56:28] Kernel uid/gid map:
INFO[02-26|15:56:28] - u 0 0 4294967295
INFO[02-26|15:56:28] - g 0 0 4294967295
INFO[02-26|15:56:28] Configured LXD uid/gid map:
INFO[02-26|15:56:28] - u 0 100000 65536
INFO[02-26|15:56:28] - g 0 100000 65536
WARN[02-26|15:56:28] CGroup memory swap accounting is disabled, swap limits will be ignored.
INFO[02-26|15:56:28] Kernel features:
INFO[02-26|15:56:28] - netnsid-based network retrieval: no
INFO[02-26|15:56:28] - uevent injection: no
INFO[02-26|15:56:28] - unprivileged file capabilities: yes
INFO[02-26|15:56:28] Initializing local database
DBUG[02-26|15:56:28] Initializing database gateway
DBUG[02-26|15:56:28] Start database node id=1 address=
DBUG[02-26|15:56:29] Raft: Restored from snapshot 1-1093162-1551171358762
DBUG[02-26|15:56:29] Raft: Initial configuration (index=1): [{Suffrage:Voter ID:1 Address:0}]
DBUG[02-26|15:56:29] Raft: Node at 0 [Leader] entering Leader state
DBUG[02-26|15:56:29] Dqlite: starting event loop
DBUG[02-26|15:56:29] Dqlite: accepting connections
INFO[02-26|15:56:29] Starting /dev/lxd handler:
INFO[02-26|15:56:29] - binding devlxd socket socket=/var/snap/lxd/common/lxd/devlxd/sock
INFO[02-26|15:56:29] REST API daemon:
INFO[02-26|15:56:29] - binding Unix socket socket=/var/snap/lxd/common/lxd/unix.socket
INFO[02-26|15:56:29] - binding TCP socket socket=[::]:8443
INFO[02-26|15:56:29] Initializing global database
DBUG[02-26|15:56:29] Dqlite: handling new connection (fd=20)
DBUG[02-26|15:56:29] Dqlite: connected address=0 attempt=0
INFO[02-26|15:56:29] Initializing storage pools
DBUG[02-26|15:56:29] Initializing and checking storage pool "tank"
DBUG[02-26|15:56:29] Checking ZFS storage pool "tank"
INFO[02-26|15:56:29] Initializing networks
DBUG[02-26|15:56:29] Connecting to a remote simplestreams server
DBUG[02-26|15:56:29] New task operation: 4bc10f85-6a67-4c9a-a05b-cc3e9a4eabf8
INFO[02-26|15:56:29] Pruning leftover image files
DBUG[02-26|15:56:29] Started task operation: 4bc10f85-6a67-4c9a-a05b-cc3e9a4eabf8
INFO[02-26|15:56:29] Done pruning leftover image files
INFO[02-26|15:56:29] Loading daemon configuration
DBUG[02-26|15:56:29] Initialized inotify with file descriptor 19
DBUG[02-26|15:56:29] Success for task operation: 4bc10f85-6a67-4c9a-a05b-cc3e9a4eabf8
DBUG[02-26|15:56:29] New task operation: 8e394aea-968d-485f-a7a1-98425e8eca97
INFO[02-26|15:56:29] Pruning expired images
DBUG[02-26|15:56:29] Started task operation: 8e394aea-968d-485f-a7a1-98425e8eca97
INFO[02-26|15:56:29] Done pruning expired images
DBUG[02-26|15:56:29] New task operation: 10d0f446-1877-49b5-ad63-fdbee7af736a
INFO[02-26|15:56:29] Pruning expired container backups
DBUG[02-26|15:56:29] Started task operation: 10d0f446-1877-49b5-ad63-fdbee7af736a
INFO[02-26|15:56:29] Done pruning expired container backups
DBUG[02-26|15:56:29] New task operation: e5c8ac8e-7465-4ac6-9e64-642b0d3f4b59
INFO[02-26|15:56:29] Expiring log files
DBUG[02-26|15:56:29] Started task operation: e5c8ac8e-7465-4ac6-9e64-642b0d3f4b59
INFO[02-26|15:56:29] Done expiring log files
DBUG[02-26|15:56:29] Success for task operation: 8e394aea-968d-485f-a7a1-98425e8eca97
DBUG[02-26|15:56:29] New task operation: 47255fb4-9e00-43ba-9578-7cfa6a3ce128
INFO[02-26|15:56:29] Updating instance types
DBUG[02-26|15:56:29] Started task operation: 47255fb4-9e00-43ba-9578-7cfa6a3ce128
INFO[02-26|15:56:29] Done updating instance types
DBUG[02-26|15:56:29] Success for task operation: e5c8ac8e-7465-4ac6-9e64-642b0d3f4b59
EROR[02-26|15:56:29] Failed to start container 'kasact': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasact2': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev2': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev3': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev4': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev5': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev6': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev7': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasdev8': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasedsntest': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kastest': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kastest2': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasupg2': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasupg3': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasupg4': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasupg5': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasupg6': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'kasupg7': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
EROR[02-26|15:56:29] Failed to start container 'ubuntu-1204-lts': Daemon failed to setup shared mounts base: no such file or directory.
Does security.nesting need to be turned on?
DBUG[02-26|15:56:29] New task operation: 06f15751-c6f2-44aa-8646-a9c20ff48c14
INFO[02-26|15:56:29] Updating images
DBUG[02-26|15:56:29] Started task operation: 06f15751-c6f2-44aa-8646-a9c20ff48c14
INFO[02-26|15:56:29] Done updating images
DBUG[02-26|15:56:29] Success for task operation: 10d0f446-1877-49b5-ad63-fdbee7af736a
DBUG[02-26|15:56:29] Database error: &errors.errorString{s:"sql: no rows in result set"}
DBUG[02-26|15:56:29] Database error: &errors.errorString{s:"sql: no rows in result set"}
EROR[02-26|15:56:29] Error getting source image err="No such object" fp=4659e616fe0c2f2b706e28097104719760a7f3f1b05610c7ac1bdcfa6af716a2
DBUG[02-26|15:56:29] Database error: &errors.errorString{s:"sql: no rows in result set"}
DBUG[02-26|15:56:29] Success for task operation: 06f15751-c6f2-44aa-8646-a9c20ff48c14
DBUG[02-26|15:56:31] Success for task operation: 47255fb4-9e00-43ba-9578-7cfa6a3ce128
We are not running containers inside containers. Just simpel setup with number of Ubuntu containers.
root@dev ~ # lxc info --show-log kasupg4
Name: kasupg4
Location: none
Remote: unix://
Architecture: x86_64
Created: 2019/02/25 08:27 UTC
Status: Stopped
Type: persistent
Profiles: default
Log:
lxc kasupg4 20190226094650.489 WARN conf - conf.c:lxc_setup_devpts:1641 - Invalid argument - Failed to unmount old devpts instance