The snap auto refresh my lxd server, from 5.1 to 5.2, but all of my lxd servers are stuck on ‘Copy snap “lxd” data’.
root@dev-physical-0-19:~# snap list
Name Version Rev Tracking Publisher Notes
core 16-2.55.5 13250 latest/stable canonical✓ core
core18 20220428 2409 latest/stable canonical✓ base
core20 20220512 1494 latest/stable canonical✓ base
distrobuilder 2.1 1364 latest/stable stgraber classic
lxd 5.1-1f6f485 23037 latest/stable/… canonical✓ disabled
snapd 2.55.5 15904 latest/stable canonical✓ snapd
root@dev-physical-0-19:~# snap changes
ID Status Spawn Ready Summary
37 Undone yesterday at 21:04 CST today at 09:57 CST Auto-refresh snap "lxd"
38 Done today at 09:50 CST today at 09:50 CST Install "core" snap
39 Undone today at 10:02 CST today at 10:33 CST Auto-refresh snap "lxd"
40 Done today at 10:21 CST today at 10:21 CST Refresh all snaps: no updates
41 Undone today at 10:40 CST today at 10:59 CST Refresh "lxd" snap
42 Done today at 11:00 CST today at 11:00 CST Running service command
43 Done today at 11:01 CST today at 11:01 CST Running service command
44 Undone today at 11:14 CST today at 11:23 CST Refresh "lxd" snap
45 Doing today at 11:24 CST - Refresh "lxd" snap
root@dev-physical-0-19:~# snap tasks 45
Status Spawn Ready Summary
Done today at 11:24 CST today at 11:24 CST Ensure prerequisites for "lxd" are available
Done today at 11:24 CST today at 11:24 CST Download snap "lxd" (23155) from channel "latest/stable/ubuntu-21.10"
Done today at 11:24 CST today at 11:24 CST Fetch and check assertions for snap "lxd" (23155)
Done today at 11:24 CST today at 11:24 CST Mount snap "lxd" (23155)
Done today at 11:24 CST today at 11:24 CST Run pre-refresh hook of "lxd" snap if present
Done today at 11:24 CST today at 11:24 CST Stop snap "lxd" services
Done today at 11:24 CST today at 11:24 CST Remove aliases for snap "lxd"
Done today at 11:24 CST today at 11:24 CST Make current revision for snap "lxd" unavailable
Doing today at 11:24 CST - Copy snap "lxd" data
Do today at 11:24 CST - Setup snap "lxd" (23155) security profiles
Do today at 11:24 CST - Make snap "lxd" (23155) available to the system
Do today at 11:24 CST - Automatically connect eligible plugs and slots of snap "lxd"
Do today at 11:24 CST - Set automatic aliases for snap "lxd"
Do today at 11:24 CST - Setup snap "lxd" aliases
Do today at 11:24 CST - Run post-refresh hook of "lxd" snap if present
Do today at 11:24 CST - Start snap "lxd" (23155) services
Do today at 11:24 CST - Remove data for snap "lxd" (23001)
Do today at 11:24 CST - Remove snap "lxd" (23001) from the system
Do today at 11:24 CST - Clean up "lxd" (23155) install
Do today at 11:24 CST - Run configure hook of "lxd" snap if present
Do today at 11:24 CST - Run health check of "lxd" snap
Doing today at 11:24 CST - Handling re-refresh of "lxd" as needed
I restart the snapd service, but it’s not working, after restart, it still stuck on refreshing the lxd, any ideas?
some information:
root@dev-physical-0-19:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
root@dev-physical-0-19:~# uname -a
Linux dev-physical-0-19 5.13.0-30-generic #33-Ubuntu SMP Fri Feb 4 17:03:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@dev-physical-0-19:~# systemctl status snapd
● snapd.service - Snap Daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-06-01 11:24:02 CST; 3h 36min ago
TriggeredBy: ● snapd.socket
Main PID: 856052 (snapd)
Tasks: 63 (limit: 462584)
Memory: 425.6M
CGroup: /system.slice/snapd.service
├─ 732061 sync
├─ 783222 sync
├─ 856052 /usr/lib/snapd/snapd
├─ 868088 sync
├─1102884 sync
├─3440815 sync
├─3447357 sync
└─4164420 sync
Jun 01 11:24:02 dev-physical-0-19 snapd[856052]: patch.go:63: Patching system state level 6 to sublevel 2...
Jun 01 11:24:02 dev-physical-0-19 snapd[856052]: patch.go:63: Patching system state level 6 to sublevel 3...
Jun 01 11:24:02 dev-physical-0-19 snapd[856052]: daemon.go:247: started snapd/2.55.5 (series 16; classic) ubuntu/21.10 (amd64) linux/5.13.0-30-generic.
Jun 01 11:24:02 dev-physical-0-19 snapd[856052]: daemon.go:340: adjusting startup timeout by 1m0s (pessimistic estimate of 30s plus 5s per snap)
Jun 01 11:24:02 dev-physical-0-19 systemd[1]: Started Snap Daemon.
Jun 01 11:24:35 dev-physical-0-19 snapd[856052]: services.go:919: RemoveSnapServices - disabling snap.lxd.activate.service
Jun 01 11:24:35 dev-physical-0-19 snapd[856052]: services.go:895: RemoveSnapServices - socket snap.lxd.user-daemon.unix.socket
Jun 01 11:24:35 dev-physical-0-19 snapd[856052]: services.go:919: RemoveSnapServices - disabling snap.lxd.user-daemon.service
Jun 01 11:24:35 dev-physical-0-19 snapd[856052]: services.go:895: RemoveSnapServices - socket snap.lxd.daemon.unix.socket
Jun 01 11:24:35 dev-physical-0-19 snapd[856052]: services.go:919: RemoveSnapServices - disabling snap.lxd.daemon.service