Remodeling from UC20 to UC22 fails for the PC model

Bug #2034915 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

Remodeling from UC20 to UC22 fails for the PC model

1) launch UC20
2) snap known --remote model series=16 model=ubuntu-core-22-amd64 brand-id=canonical > ubuntu-core-22-amd64.model
3) sudo snap remodel ubuntu-core-22-amd64.model
4) wait 10 minutes (multiple reboots)

snap changes
4 Error today at 11:03 UTC today at 11:12 UTC Remodel device to canonical/ubuntu-core-22-amd64 (0)

in snap tasks4 it says:

Mount snap "pc" (146)

2023-09-08T11:10:12Z ERROR cannot remodel to an incompatible gadget: incompatible layout change: incompatible structure #1 ("BIOS Boot") change: cannot change structure offset-write from mbr+92 to unspecified

Not sure if this is a bug in UC22 gadget, bug in UC20 gadget, or missing feature in snapd to handle such transition.

Or maybe we need some UC22 gadget that is UC20 layout compatible and a model using that (no image) to support remodels from UC20 to UC22.

Full tasks log attached.

Tags: remodel
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :
tags: added: remodel
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

i'm going to say fix committed for this portion.

because yes, this is resolved if one snap refreshes snapd to edge first.

Changed in snapd (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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