cannot boot uc20 model with multiple base snaps

Bug #1883973 reported by Ian Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Critical
Samuele Pedroni

Bug Description

With a uc20 model.json that has multiple base snaps, i.e. core20 and core18, one is unable to boot. A message like this shows up from the initramfs:

model does not specify all the requested essential snaps [base kernel snapd]

this prevents booting an image to install mode.

Changed in snapd:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Ian Johnson (anonymouse67) wrote :
Changed in snapd:
status: Triaged → In Progress
Changed in snapd:
assignee: nobody → Samuele Pedroni (pedronis)
Changed in snapd:
status: In Progress → Fix Committed
Zygmunt Krynicki (zyga)
Changed in snapd:
milestone: none → 2.46
Revision history for this message
Ian Johnson (anonymouse67) wrote :

Note that before this is considered fix released, it must be released to ubuntu-core-initramfs and then to the pc-kernel snap.

Also we did backport the fix to 2.45, which is in the archive now, so a rebuild of ubuntu-core-initramfs and then a rebuild of the pc-kernel snap would pick this up fwiw

Changed in snapd:
milestone: 2.46 → 2.45.3
Revision history for this message
Ian Johnson (anonymouse67) wrote :

This should finally be resolved in version 37 of ubuntu-core-initramfs, which is now in the snappy-dev/image PPA, so as soon as the kernel snap is rebuilt this bug will finally be fixed

Revision history for this message
Ian Johnson (anonymouse67) wrote :

This is fixed in the pc-kernel snap revision 612 which is now in beta/edge with kernel 5.4.0-49.53.1.

I assume that other non-pc-kernels (i.e. pi-kernel) will also contain the fix with that same kernel version and up.

Changed in snapd:
status: Fix Committed → Fix Released
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.