refresh of snapd failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Maciej Borzecki |
Bug Description
$USERNAME@
2020-03-
2020-03-
error: cannot perform the following tasks:
- Automatically connect eligible plugs and slots of snap "snapd" (there was a snapd rollback across the restart)
Relevant journal fragment:
-- Reboot --
Mar 09 18:20:04 $HOSTNAME systemd[1]: Starting Snappy daemon...
Mar 09 18:20:10 $HOSTNAME snapd[680]: AppArmor status: apparmor is enabled but some kernel features are missing: dbus, network
Mar 09 18:20:11 $HOSTNAME snapd[680]: daemon.go:343: started snapd/2.
Mar 09 18:20:12 $HOSTNAME snapd[680]: daemon.go:436: adjusting startup timeout by 1m15s (pessimistic estimate of 30s plus 5s per snap)
Mar 09 18:20:14 $HOSTNAME systemd[1]: Started Snappy daemon.
Mar 09 18:21:08 $HOSTNAME snapd[680]: storehelpers.
Mar 16 12:50:02 $HOSTNAME systemd[1]: snapd.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Mar 16 12:50:04 $HOSTNAME snapd[680]: daemon.go:537: gracefully waiting for running hooks
Mar 16 12:50:04 $HOSTNAME snapd[680]: daemon.go:539: done waiting for running hooks
Mar 16 12:50:29 $HOSTNAME snapd[680]: cannot run daemon: context deadline exceeded
Mar 16 12:50:29 $HOSTNAME systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 12:50:29 $HOSTNAME systemd[1]: snapd.service: Failed with result 'exit-code'.
Mar 16 12:50:29 $HOSTNAME systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Mar 16 12:50:30 $HOSTNAME systemd[1]: snapd.service: Service hold-off time over, scheduling restart.
Mar 16 12:50:30 $HOSTNAME systemd[1]: snapd.service: Scheduled restart job, restart counter is at 1.
$USERNAME@
Status Spawn Ready Summary
Done 7 days ago, at 18:21 CET today at 12:51 CET Ensure prerequisites for "snapd" are available
Undone 7 days ago, at 18:21 CET today at 12:51 CET Download snap "snapd" (6732) from channel "latest/edge"
Done 7 days ago, at 18:21 CET today at 12:51 CET Fetch and check assertions for snap "snapd" (6732)
Undone 7 days ago, at 18:21 CET today at 12:51 CET Mount snap "snapd" (6732)
Undone 7 days ago, at 18:21 CET today at 12:51 CET Run pre-refresh hook of "snapd" snap if present
Undone 7 days ago, at 18:21 CET today at 12:51 CET Stop snap "snapd" services
Undone 7 days ago, at 18:21 CET today at 12:50 CET Remove aliases for snap "snapd"
Undone 7 days ago, at 18:21 CET today at 12:50 CET Make current revision for snap "snapd" unavailable
Undone 7 days ago, at 18:21 CET today at 12:50 CET Copy snap "snapd" data
Undone 7 days ago, at 18:21 CET today at 12:50 CET Setup snap "snapd" (6732) security profiles
Undone 7 days ago, at 18:21 CET today at 12:50 CET Make snap "snapd" (6732) available to the system
Error 7 days ago, at 18:21 CET today at 12:50 CET Automatically connect eligible plugs and slots of snap "snapd"
Hold 7 days ago, at 18:21 CET today at 12:50 CET Set automatic aliases for snap "snapd"
Hold 7 days ago, at 18:21 CET today at 12:50 CET Setup snap "snapd" aliases
Hold 7 days ago, at 18:21 CET today at 12:50 CET Run post-refresh hook of "snapd" snap if present
Hold 7 days ago, at 18:21 CET today at 12:50 CET Start snap "snapd" (6732) services
Hold 7 days ago, at 18:21 CET today at 12:50 CET Remove data for snap "snapd" (5648)
Hold 7 days ago, at 18:21 CET today at 12:50 CET Remove snap "snapd" (5648) from the system
Hold 7 days ago, at 18:21 CET today at 12:50 CET Clean up "snapd" (6732) install
Hold 7 days ago, at 18:21 CET today at 12:50 CET Run health check of "snapd" snap
Done 7 days ago, at 18:21 CET today at 12:51 CET Consider re-refresh of "snapd"
.......
Make current revision for snap "snapd" unavailable
2020-03-
.......
Make snap "snapd" (6732) available to the system
2020-03-
.......
Automatically connect eligible plugs and slots of snap "snapd"
2020-03-
2020-03-
2020-03-
2020-03-
2020-03-
2020-03-
2020-03-
2020-03-
2020-03-
2020-03-
description: | updated |
summary: |
- refresh of snapd failed, maybe because of concurrent refresh of core + refresh of snapd failed |
Changed in snapd: | |
assignee: | nobody → Maciej Borzecki (maciek-borzecki) |
status: | New → Fix Committed |
This happened again after new snapd came out:
$ sudo snap refresh 16T15:38: 06+01:00 INFO Waiting for restart...
Consider re-refresh of "snapd" /
2020-03-
error: cannot perform the following tasks:
- Automatically connect eligible plugs and slots of snap "snapd" (there was a snapd rollback across the restart)