snapd refreshing got stuck with Doing state of re-refresh

Bug #1943686 reported by Woodrow Shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Confirmed
High
Unassigned

Bug Description

From my arm64 devices, it can be reproducible to see snapd refreshing got stuck with snap changes like as follows and it was happening between 2.51.3 and 2.51.4.

Doing today at 11:48 UTC - Consider re-refresh of "snapd"

The precise scenario was

1. run install mode
2. run first boot with run mode
3. cloud-init from gadget triggers reboot while snapd was refreshed
4. check `snap changes`

Revision history for this message
Woodrow Shen (woodrow-shen) wrote :
description: updated
summary: - snapd got stuck with auto-refresh change
+ snapd refreshing got stuck with Doing state of re-refresh
Revision history for this message
Woodrow Shen (woodrow-shen) wrote :
Revision history for this message
Woodrow Shen (woodrow-shen) wrote :
Changed in snapd:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Paweł Stołowski (stolowski) wrote :

In the tasks json there is a task with id 93 with no associated change id (which means it's not listed by snap changes etc and generally not considered/ignored by snapd internally). I've proposed a simple fix to avoid creating such task - https://github.com/snapcore/snapd/pull/10782, but it is almost certainly not the cause of check-rerefresh getting stuck in Doing, there is something else going on with this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.