Core snap stuck on initialize system

Bug #1674735 reported by Jairo Hernandez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Core Project
New
Undecided
Unassigned
snapd (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

After the first boot is completed on Ubuntu Core 16 (credentials have been confirmed, ssh has been enabled, system obtained NTP and rebooted), the Core snap hangs during the "initialize system state".

snap changes:
ID Status Spawn Ready Summary
1 Doing 2017-03-20T20:03:17Z - Initialize system state
2 Done 2017-03-21T02:15:40Z 2017-03-21T02:15:40Z Refresh all snaps: no updates

snap change 1:
Status Spawn Ready Summary
Done 2017-03-20T20:03:17Z 2017-03-20T20:03:17Z Prepare snap "/var/lib/snapd/seed/snaps/core_1516.snap" (1516)
Done 2017-03-20T20:03:17Z 2017-03-20T20:03:22Z Mount snap "core" (1516)
Done 2017-03-20T20:03:17Z 2017-03-20T20:03:22Z Copy snap "core" data
Done 2017-03-20T20:03:17Z 2017-03-20T20:03:23Z Setup snap "core" (1516) security profiles
Done 2017-03-20T20:03:17Z 2017-03-20T20:03:23Z Make snap "core" (1516) available to the system
Doing 2017-03-20T20:03:17Z - Setup snap "core" (1516) security profiles (phase 2)
Do 2017-03-20T20:03:17Z - Set automatic aliases for snap "core"
Do 2017-03-20T20:03:17Z - Setup snap "core" aliases
Do 2017-03-20T20:03:17Z - Start snap "core" (1516) services
Do 2017-03-20T20:03:17Z - Run configure hook of "core" snap if present

/var/log/syslog | tail :
Mar 21 15:25:09 localhost /usr/lib/snapd/snapd[1028]: message repeated 22 times: [ taskrunner.go:353: DEBUG: Running task 7 on Doing: Setup snap "core" (1516) security profiles (phase 2)]
Mar 21 15:25:13 localhost rsyslogd-2007: action 'action 11' suspended, next retry is Tue Mar 21 15:26:43 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Mar 21 15:25:14 localhost /usr/lib/snapd/snapd[1028]: taskrunner.go:353: DEBUG: Running task 7 on Doing: Setup snap "core" (1516) security profiles (phase 2)
Mar 21 15:25:35 localhost /usr/lib/snapd/snapd[1028]: message repeated 4 times: [ taskrunner.go:353: DEBUG: Running task 7 on Doing: Setup snap "core" (1516) security profiles (phase 2)]
Mar 21 15:25:40 localhost /usr/lib/snapd/snapd[1028]: taskrunner.go:353: DEBUG: Running task 7 on Doing: Setup snap "core" (1516) security profiles (phase 2)
Mar 21 15:25:50 localhost /usr/lib/snapd/snapd[1028]: message repeated 2 times: [ taskrunner.go:353: DEBUG: Running task 7 on Doing: Setup snap "core" (1516) security profiles (phase 2)]

I was also able to replicate the issue while upgrading the core snap con a prebuilt image for a raspberry pi 3.

no longer affects: subiquity (Ubuntu)
affects: snappy (Ubuntu) → snapd (Ubuntu)
Revision history for this message
John Lenton (chipaca) wrote :

Oh dear, sorry we didn't reply to this in a timely manner.

Things have changed enough that I don't think this happens any more, but if it does, please re-open this (set it to New again)? We're trying to pay closer attention to bugs now, at least New ones, so we catch this sort of thing earlier.

For what it's worth it does look similar to issues that we found and fixed, but without being able to debug more it's hard to be sure, so I'm closing this was Won't Fix.

Changed in snapd (Ubuntu):
status: New → Won't Fix
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.