core20 snap stuck in auto-refresh

Bug #1985090 reported by Jeff Hillman
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Expired
High
Unassigned

Bug Description

20.04.3
snapd 2.55

Currently seeing a situation where the core20 snap got put into a disabled mode. running sudo snap changes shows that for 20 days it has been in an auto-refresh state.

running snap abort <id> puts it into an aborting state, but this has sat for over 24 hours now.

This is causing all snaps dependent upon core20 to fail. for example, running `lxc list` fails saying that there is no core20 file available.

More logs to come.

Changed in snapd:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Miguel Pires (miguelpires1) wrote :

I've commented in the SF ticket but I'll summarise it here for clarity. The core20 snap was stuck in an auto-refresh because after copying data (as part of the refresh process), snapd called `sync` which just hanged for 25 days. Looking into the logs shows a lot of iSCSI "TCP connection closed" which is probably what's causing the fsync to never return.

Revision history for this message
Alok Prudhvi (alokprudhvi) wrote :

Hi Miguel, What can be the workload to get the core20 back to normal and get all the lxc list commands working?

Can you summarise the steps we could take to over come this problem?

Revision history for this message
Miguel Pires (miguelpires1) wrote :

Hi Alok. So far, the issue in snapd seems to come from a `sync` call to the file-system hanging indefinitely. If the root issue lies in the file-system, there's no workload that snapd can run to fix it. Given that rebooting made the problem go away and we can't test this further, there's currently no indication that snapd malfunctioned. So, for now, I'll mark this report as "Incomplete" so that we know that there's nothing we can do with the current information. However, if that changes in the future, we can pick up this report and go from there. Thanks.

Changed in snapd:
status: Confirmed → Incomplete
Revision history for this message
Alok Prudhvi (alokprudhvi) wrote :

Thanks Miguel.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd because there has been no activity for 60 days.]

Changed in snapd:
status: Incomplete → Expired
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.