Lxd.migrate failures :(

Twice I’ve tried to use lxd.migrate to migrate a system from 3.0.3 to 4.0.0 and twice it failed horribly, leaving the system in an initially unusable state.

However, this second time I poked around a bit. The initial system was that lxc list and all other similar commands such as lxc network list all came back blank. This told me that the database had been wiped for 3.0.3. I found the backup though in /var/snap/lxd/common/lxd/database.pre-migration. I copied them from there to /var/lib/lxd/database and was able to bring things back online.

Is it normal for lxd.migrate to fail in such an ungraceful manner?

Recovered the system. Backed everything up again just to be sure. Gave lxd.migrate another chance… same result. Borked the system. This time, it just hung at “Waiting for LXD to come online”. Syslog indicates it is just spinning, starting and restating over and over again

We do have quite a lot of automated testing on lxd.migrate, however every system is different and issues can happen. The migration logic does save enough data for us to figure out what may have gone wrong and unstick it.

Can you paste the entire output of your lxd.migrate run?

Also the output of journalctl -u snap.lxd.daemon -n 300 and the content of /var/snap/lxd/common/lxd/logs/lxd.log would be quite useful.

I’ll see what I can find. I needed the system up so just kinda worked around it haha

If memory serves though, it got to the step where it was waiting for the new LXD to come up and just sat there forever. In syslog, it was spinning trying to start and failing. I don’t have the output from lxd.migrate now but do have the syslog entries:
Apr 8 23:46:26 mayne systemd[1]: Started Service for snap application lxd.daemon. Apr 8 23:46:26 mayne lxd.daemon[29495]: => Preparing the system (14353) Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Loading snap configuration Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Setting up mntns symlink (mnt:[4026533028]) Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Setting up kmod wrapper Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Preparing /boot Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Preparing a clean copy of /run Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Preparing a clean copy of /etc Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Setting up ceph configuration Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Setting up LVM configuration Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Rotating logs Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Setting up ZFS (0.7) Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Escaping the systemd cgroups Apr 8 23:46:26 mayne lxd.daemon[29495]: ====> Detected cgroup V1 Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Escaping the systemd process resource limits Apr 8 23:46:26 mayne lxd.daemon[29495]: ==> Disabling shiftfs on this kernel (auto) Apr 8 23:46:26 mayne lxd.daemon[23436]: Closed liblxcfs.so Apr 8 23:46:26 mayne lxd.daemon[23436]: Running destructor lxcfs_exit Apr 8 23:46:26 mayne lxd.daemon[23436]: Running constructor lxcfs_init to reload liblxcfs Apr 8 23:46:26 mayne kernel: [ 5325.292617] new mount options do not match the existing superblock, will be ignored Apr 8 23:46:26 mayne lxd.daemon[23436]: mount namespace: 5 Apr 8 23:46:26 mayne lxd.daemon[23436]: hierarchies: Apr 8 23:46:26 mayne lxd.daemon[23436]: 0: fd: 6: Apr 8 23:46:26 mayne lxd.daemon[23436]: 1: fd: 7: name=systemd Apr 8 23:46:26 mayne lxd.daemon[23436]: 2: fd: 8: pids Apr 8 23:46:26 mayne lxd.daemon[23436]: 3: fd: 9: freezer Apr 8 23:46:26 mayne lxd.daemon[23436]: 4: fd: 10: net_cls,net_prio Apr 8 23:46:26 mayne lxd.daemon[23436]: 5: fd: 11: cpuset Apr 8 23:46:26 mayne lxd.daemon[23436]: 6: fd: 12: cpu,cpuacct Apr 8 23:46:26 mayne lxd.daemon[23436]: 7: fd: 13: rdma Apr 8 23:46:26 mayne lxd.daemon[23436]: 8: fd: 14: memory Apr 8 23:46:26 mayne lxd.daemon[23436]: 9: fd: 15: devices Apr 8 23:46:26 mayne lxd.daemon[23436]: 10: fd: 16: perf_event Apr 8 23:46:26 mayne lxd.daemon[23436]: 11: fd: 17: hugetlb Apr 8 23:46:26 mayne lxd.daemon[23436]: 12: fd: 19: blkio Apr 8 23:46:26 mayne lxd.daemon[23436]: api_extensions: Apr 8 23:46:26 mayne lxd.daemon[23436]: - cgroups Apr 8 23:46:26 mayne lxd.daemon[23436]: - sys_cpu_online Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_cpuinfo Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_diskstats Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_loadavg Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_meminfo Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_stat Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_swaps Apr 8 23:46:26 mayne lxd.daemon[23436]: - proc_uptime Apr 8 23:46:26 mayne lxd.daemon[23436]: - shared_pidns Apr 8 23:46:26 mayne lxd.daemon[23436]: - cpuview_daemon Apr 8 23:46:26 mayne lxd.daemon[23436]: - loadavg_daemon Apr 8 23:46:26 mayne lxd.daemon[23436]: - pidfds Apr 8 23:46:26 mayne lxd.daemon[23436]: Reloaded LXCFS Apr 8 23:46:26 mayne lxd.daemon[29495]: => Re-using existing LXCFS Apr 8 23:46:26 mayne lxd.daemon[29495]: => Starting LXD Apr 8 23:46:26 mayne lxd.daemon[29495]: t=2020-04-08T23:46:26+0000 lvl=warn msg=" - Couldn't find the CGroup memory swap accounting, swap limits will be ignored" Apr 8 23:46:27 mayne lxd.daemon[29495]: *** Error in lxd’: munmap_chunk(): invalid pointer: 0x00007f34c032f090 ***
Apr 8 23:46:27 mayne lxd.daemon[29495]: ======= Backtrace: =========
Apr 8 23:46:27 mayne lxd.daemon[29495]: /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f353186b7e5]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7f3531878698]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/libsqlite3.so.0(sqlite3_free+0x4b)[0x7f353200a8db]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/libraft.so.0(+0x974a)[0x7f353076474a]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/libraft.so.0(+0xa12b)[0x7f353076512b]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/libraft.so.0(+0xe20a)[0x7f353076920a]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/libraft.so.0(+0xe644)[0x7f3530769644]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1(+0x7630)[0x7f3530b84630]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1(+0x9553)[0x7f3530b86553]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1(+0x9636)[0x7f3530b86636]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1(+0x18055)[0x7f3530b95055]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1(uv_run+0x12c)[0x7f3530b86efc]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /snap/lxd/14353/lib/libdqlite.so.0(+0x10938)[0x7f3531de4938]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f35324c16ba]
Apr 8 23:46:27 mayne lxd.daemon[29495]: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f35318fb41d]
Apr 8 23:46:27 mayne lxd.daemon[29495]: ======= Memory map: ========
Apr 8 23:46:27 mayne lxd.daemon[29495]: 00400000-01e6c000 r-xp 00000000 07:01 40 /snap/lxd/14353/bin/lxd
Apr 8 23:46:27 mayne lxd.daemon[29495]: 0206b000-0206c000 r–p 01a6b000 07:01 40 /snap/lxd/14353/bin/lxd
Apr 8 23:46:27 mayne lxd.daemon[29495]: 0206c000-020d9000 rw-p 01a6c000 07:01 40 /snap/lxd/14353/bin/lxd
Apr 8 23:46:27 mayne lxd.daemon[29495]: 020d9000-0283b000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 03c78000-03cbb000 rw-p 00000000 00:00 0 [heap]
Apr 8 23:46:27 mayne lxd.daemon[29495]: c000000000-c000400000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: c000400000-c000600000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: c000600000-c004000000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34b8000000-7f34b8021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34b8021000-7f34bc000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34bd7fb000-7f34bd7fc000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34bd7fc000-7f34bdffc000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34bdffc000-7f34bdffd000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34bdffd000-7f34be7fd000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34be7fd000-7f34be7fe000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34be7fe000-7f34beffe000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34beffe000-7f34befff000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34befff000-7f34bf7ff000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34bf7ff000-7f34bf800000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34bf800000-7f34c0000000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34c0000000-7f34c1fe9000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34c1fe9000-7f34c4000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34c4000000-7f34c4021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34c4021000-7f34c8000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34c8000000-7f34c8021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34c8021000-7f34cc000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34cc000000-7f34cc021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34cc021000-7f34d0000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d0000000-7f34d0021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d0021000-7f34d4000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d4000000-7f34d4021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d4021000-7f34d8000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d87f9000-7f34d87fa000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d87fa000-7f34d8ffa000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d8ffa000-7f34d8ffb000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d8ffb000-7f34d97fb000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d97fb000-7f34d97fc000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d97fc000-7f34d9ffc000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d9ffc000-7f34d9ffd000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34d9ffd000-7f34da7fd000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34da7fd000-7f34da7fe000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34da7fe000-7f34daffe000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34daffe000-7f34dafff000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34dafff000-7f34db7ff000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34db7ff000-7f34db800000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34db800000-7f34dc000000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34dc000000-7f34dc021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34dc021000-7f34e0000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e0000000-7f34e0021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e0021000-7f34e4000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e4000000-7f34e4021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e4021000-7f34e8000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e83db000-7f34e83e6000 r-xp 00000000 07:00 2221 /lib/x86_64-linux-gnu/libnss_files-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e83e6000-7f34e85e5000 —p 0000b000 07:00 2221 /lib/x86_64-linux-gnu/libnss_files-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e85e5000-7f34e85e6000 r–p 0000a000 07:00 2221 /lib/x86_64-linux-gnu/libnss_files-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e85e6000-7f34e85e7000 rw-p 0000b000 07:00 2221 /lib/x86_64-linux-gnu/libnss_files-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e85e7000-7f34e85ed000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e85ed000-7f34e85f8000 r-xp 00000000 07:00 2226 /lib/x86_64-linux-gnu/libnss_nis-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e85f8000-7f34e87f7000 —p 0000b000 07:00 2226 /lib/x86_64-linux-gnu/libnss_nis-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e87f7000-7f34e87f8000 r–p 0000a000 07:00 2226 /lib/x86_64-linux-gnu/libnss_nis-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e87f8000-7f34e87f9000 rw-p 0000b000 07:00 2226 /lib/x86_64-linux-gnu/libnss_nis-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e87f9000-7f34e87fa000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e87fa000-7f34e8ffa000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e8ffa000-7f34e8ffb000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e8ffb000-7f34e97fb000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e97fb000-7f34e97fc000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e97fc000-7f34e9ffc000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e9ffc000-7f34e9ffd000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34e9ffd000-7f34ea7fd000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34ea7fd000-7f34ea7fe000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34ea7fe000-7f34eaffe000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34eaffe000-7f34eafff000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34eafff000-7f34eb7ff000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34eb7ff000-7f34eb800000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34eb800000-7f34ec000000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34ec000000-7f34ec021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34ec021000-7f34f0000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34f0000000-7f34f0021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34f0021000-7f34f4000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34f4000000-7f34f4021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34f4021000-7f34f8000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34f8000000-7f34f8021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34f8021000-7f34fc000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34fc000000-7f34fc021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f34fc021000-7f3500000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35000f7000-7f3500137000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500137000-7f350014d000 r-xp 00000000 07:00 2215 /lib/x86_64-linux-gnu/libnsl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350014d000-7f350034c000 —p 00016000 07:00 2215 /lib/x86_64-linux-gnu/libnsl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350034c000-7f350034d000 r–p 00015000 07:00 2215 /lib/x86_64-linux-gnu/libnsl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350034d000-7f350034e000 rw-p 00016000 07:00 2215 /lib/x86_64-linux-gnu/libnsl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350034e000-7f3500350000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500350000-7f3500358000 r-xp 00000000 07:00 2217 /lib/x86_64-linux-gnu/libnss_compat-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500358000-7f3500557000 —p 00008000 07:00 2217 /lib/x86_64-linux-gnu/libnss_compat-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500557000-7f3500558000 r–p 00007000 07:00 2217 /lib/x86_64-linux-gnu/libnss_compat-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500558000-7f3500559000 rw-p 00008000 07:00 2217 /lib/x86_64-linux-gnu/libnss_compat-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500559000-7f3500699000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500699000-7f350069a000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350069a000-7f3500e9a000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500e9a000-7f3500e9b000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3500e9b000-7f350169b000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350169b000-7f350169c000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350169c000-7f3501e9c000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3501e9c000-7f3501e9d000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3501e9d000-7f350269d000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350269d000-7f350269e000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350269e000-7f3502ffe000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3502ffe000-7f3502fff000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3502fff000-7f35037ff000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35037ff000-7f3503800000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3503800000-7f3504000000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3504000000-7f3504021000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3504021000-7f3508000000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3508017000-7f35081d7000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35081d7000-7f35081d8000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35081d8000-7f35089d8000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35089d8000-7f35089d9000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35089d9000-7f35091d9000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35091d9000-7f35091da000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35091da000-7f350bceb000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f350bceb000-7f351be6b000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f351be6b000-7f351be6c000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f351be6c000-7f352dd1b000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f352dd1b000-7f352dd1c000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f352dd1c000-7f35300f1000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35300f1000-7f35300f2000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35300f2000-7f35304eb000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35304eb000-7f3530559000 r-xp 00000000 07:00 2240 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530559000-7f3530759000 —p 0006e000 07:00 2240 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530759000-7f353075a000 r–p 0006e000 07:00 2240 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f353075a000-7f353075b000 rw-p 0006f000 07:00 2240 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f353075b000-7f3530779000 r-xp 00000000 07:01 192 /snap/lxd/14353/lib/libraft.so.0.0.7
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530779000-7f3530978000 —p 0001e000 07:01 192 /snap/lxd/14353/lib/libraft.so.0.0.7
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530978000-7f3530979000 r–p 0001d000 07:01 192 /snap/lxd/14353/lib/libraft.so.0.0.7
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530979000-7f353097a000 rw-p 0001e000 07:01 192 /snap/lxd/14353/lib/libraft.so.0.0.7
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f353097a000-7f353097c000 r-xp 00000000 07:01 149 /snap/lxd/14353/lib/libco.so.0.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f353097c000-7f3530b7b000 —p 00002000 07:01 149 /snap/lxd/14353/lib/libco.so.0.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530b7b000-7f3530b7c000 r–p 00001000 07:01 149 /snap/lxd/14353/lib/libco.so.0.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530b7c000-7f3530b7d000 rw-p 00002000 07:01 149 /snap/lxd/14353/lib/libco.so.0.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530b7d000-7f3530b9f000 r-xp 00000000 07:01 1086 /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530b9f000-7f3530d9e000 —p 00022000 07:01 1086 /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530d9e000-7f3530d9f000 r–p 00021000 07:01 1086 /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530d9f000-7f3530da0000 rw-p 00022000 07:01 1086 /snap/lxd/14353/lib/x86_64-linux-gnu/libuv.so.1.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530da0000-7f3530da7000 r-xp 00000000 07:00 2255 /lib/x86_64-linux-gnu/librt-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530da7000-7f3530fa6000 —p 00007000 07:00 2255 /lib/x86_64-linux-gnu/librt-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530fa6000-7f3530fa7000 r–p 00006000 07:00 2255 /lib/x86_64-linux-gnu/librt-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530fa7000-7f3530fa8000 rw-p 00007000 07:00 2255 /lib/x86_64-linux-gnu/librt-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530fa8000-7f3530fab000 r-xp 00000000 07:00 2151 /lib/x86_64-linux-gnu/libdl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3530fab000-7f35311aa000 —p 00003000 07:00 2151 /lib/x86_64-linux-gnu/libdl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35311aa000-7f35311ab000 r–p 00002000 07:00 2151 /lib/x86_64-linux-gnu/libdl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35311ab000-7f35311ac000 rw-p 00003000 07:00 2151 /lib/x86_64-linux-gnu/libdl-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35311ac000-7f35311b0000 r-xp 00000000 07:00 2123 /lib/x86_64-linux-gnu/libattr.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35311b0000-7f35313af000 —p 00004000 07:00 2123 /lib/x86_64-linux-gnu/libattr.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35313af000-7f35313b0000 r–p 00003000 07:00 2123 /lib/x86_64-linux-gnu/libattr.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35313b0000-7f35313b1000 rw-p 00004000 07:00 2123 /lib/x86_64-linux-gnu/libattr.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35313b1000-7f35313d1000 r-xp 00000000 07:01 195 /snap/lxd/14353/lib/libseccomp.so.0.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35313d1000-7f35315d0000 —p 00020000 07:01 195 /snap/lxd/14353/lib/libseccomp.so.0.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35315d0000-7f35315d1000 r–p 0001f000 07:01 195 /snap/lxd/14353/lib/libseccomp.so.0.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35315d1000-7f35315d2000 rw-p 00020000 07:01 195 /snap/lxd/14353/lib/libseccomp.so.0.0.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35315d2000-7f35315f1000 r-xp 00000000 07:00 2259 /lib/x86_64-linux-gnu/libselinux.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35315f1000-7f35317f0000 —p 0001f000 07:00 2259 /lib/x86_64-linux-gnu/libselinux.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35317f0000-7f35317f1000 r–p 0001e000 07:00 2259 /lib/x86_64-linux-gnu/libselinux.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35317f1000-7f35317f2000 rw-p 0001f000 07:00 2259 /lib/x86_64-linux-gnu/libselinux.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35317f2000-7f35317f4000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35317f4000-7f35319b4000 r-xp 00000000 07:00 2133 /lib/x86_64-linux-gnu/libc-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35319b4000-7f3531bb4000 —p 001c0000 07:00 2133 /lib/x86_64-linux-gnu/libc-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531bb4000-7f3531bb8000 r–p 001c0000 07:00 2133 /lib/x86_64-linux-gnu/libc-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531bb8000-7f3531bba000 rw-p 001c4000 07:00 2133 /lib/x86_64-linux-gnu/libc-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531bba000-7f3531bbe000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531bbe000-7f3531bd4000 r-xp 00000000 07:00 2165 /lib/x86_64-linux-gnu/libgcc_s.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531bd4000-7f3531dd3000 —p 00016000 07:00 2165 /lib/x86_64-linux-gnu/libgcc_s.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531dd3000-7f3531dd4000 rw-p 00015000 07:00 2165 /lib/x86_64-linux-gnu/libgcc_s.so.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531dd4000-7f3531df0000 r-xp 00000000 07:01 152 /snap/lxd/14353/lib/libdqlite.so.0.0.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531df0000-7f3531fef000 —p 0001c000 07:01 152 /snap/lxd/14353/lib/libdqlite.so.0.0.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531fef000-7f3531ff0000 r–p 0001b000 07:01 152 /snap/lxd/14353/lib/libdqlite.so.0.0.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531ff0000-7f3531ff1000 rw-p 0001c000 07:01 152 /snap/lxd/14353/lib/libdqlite.so.0.0.1
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3531ff1000-7f35320ad000 r-xp 00000000 07:01 198 /snap/lxd/14353/lib/libsqlite3.so.0.8.6
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35320ad000-7f35322ac000 —p 000bc000 07:01 198 /snap/lxd/14353/lib/libsqlite3.so.0.8.6
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35322ac000-7f35322af000 r–p 000bb000 07:01 198 /snap/lxd/14353/lib/libsqlite3.so.0.8.6
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35322af000-7f35322b2000 rw-p 000be000 07:01 198 /snap/lxd/14353/lib/libsqlite3.so.0.8.6
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35322b2000-7f35322b9000 r-xp 00000000 07:00 2117 /lib/x86_64-linux-gnu/libacl.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35322b9000-7f35324b8000 —p 00007000 07:00 2117 /lib/x86_64-linux-gnu/libacl.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35324b8000-7f35324b9000 r–p 00006000 07:00 2117 /lib/x86_64-linux-gnu/libacl.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35324b9000-7f35324ba000 rw-p 00007000 07:00 2117 /lib/x86_64-linux-gnu/libacl.so.1.1.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35324ba000-7f35324d2000 r-xp 00000000 07:00 2249 /lib/x86_64-linux-gnu/libpthread-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35324d2000-7f35326d1000 —p 00018000 07:00 2249 /lib/x86_64-linux-gnu/libpthread-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35326d1000-7f35326d2000 r–p 00017000 07:00 2249 /lib/x86_64-linux-gnu/libpthread-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35326d2000-7f35326d3000 rw-p 00018000 07:00 2249 /lib/x86_64-linux-gnu/libpthread-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35326d3000-7f35326d7000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35326d7000-7f35326db000 r-xp 00000000 07:00 2136 /lib/x86_64-linux-gnu/libcap.so.2.24
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35326db000-7f35328db000 —p 00004000 07:00 2136 /lib/x86_64-linux-gnu/libcap.so.2.24
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35328db000-7f35328dc000 r–p 00004000 07:00 2136 /lib/x86_64-linux-gnu/libcap.so.2.24
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35328dc000-7f35328dd000 rw-p 00005000 07:00 2136 /lib/x86_64-linux-gnu/libcap.so.2.24
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35328dd000-7f35328df000 r-xp 00000000 07:00 2280 /lib/x86_64-linux-gnu/libutil-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f35328df000-7f3532ade000 —p 00002000 07:00 2280 /lib/x86_64-linux-gnu/libutil-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ade000-7f3532adf000 r–p 00001000 07:00 2280 /lib/x86_64-linux-gnu/libutil-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532adf000-7f3532ae0000 rw-p 00002000 07:00 2280 /lib/x86_64-linux-gnu/libutil-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ae0000-7f3532bd8000 r-xp 00000000 07:01 176 /snap/lxd/14353/lib/liblxc.so.1.7.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532bd8000-7f3532dd8000 —p 000f8000 07:01 176 /snap/lxd/14353/lib/liblxc.so.1.7.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532dd8000-7f3532dd9000 r–p 000f8000 07:01 176 /snap/lxd/14353/lib/liblxc.so.1.7.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532dd9000-7f3532ddd000 rw-p 000f9000 07:01 176 /snap/lxd/14353/lib/liblxc.so.1.7.0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ddd000-7f3532e03000 r-xp 00000000 07:00 2111 /lib/x86_64-linux-gnu/ld-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532e16000-7f3532e1d000 rw-s 00000000 00:12 664964 /[aio] (deleted)
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532e1d000-7f3532e73000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532e73000-7f3532ef3000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ef3000-7f3532ef4000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ef4000-7f3532f73000 —p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532f73000-7f3532fdb000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532fdb000-7f3532ff9000 r-xp 00000000 07:00 2275 /lib/x86_64-linux-gnu/libudev.so.1.6.4
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ff9000-7f3532ffa000 r–p 0001d000 07:00 2275 /lib/x86_64-linux-gnu/libudev.so.1.6.4
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ffa000-7f3532ffb000 rw-p 0001e000 07:00 2275 /lib/x86_64-linux-gnu/libudev.so.1.6.4
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3532ffb000-7f3532ffd000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3533000000-7f3533002000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3533002000-7f3533003000 r–p 00025000 07:00 2111 /lib/x86_64-linux-gnu/ld-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3533003000-7f3533004000 rw-p 00026000 07:00 2111 /lib/x86_64-linux-gnu/ld-2.23.so
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7f3533004000-7f3533005000 rw-p 00000000 00:00 0
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7ffed0cb5000-7ffed0cd6000 rw-p 00000000 00:00 0 [stack]
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7ffed0d5e000-7ffed0d61000 r–p 00000000 00:00 0 [vvar]
Apr 8 23:46:27 mayne lxd.daemon[29495]: 7ffed0d61000-7ffed0d63000 r-xp 00000000 00:00 0 [vdso]
Apr 8 23:46:27 mayne lxd.daemon[29495]: ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Apr 8 23:46:28 mayne lxd.daemon[29495]: => LXD failed to start
`

Not all failures were as verbose as that one. Most didn’t include the memory map. I actually just tried to do it again, however it said the source server was empty so no migration was needed. The LXD daemon was able to start this time so that’s something :smiley:

@freeekanayaka dqlite crash looks like ^