no way to include devmode snaps in snap prepare-image?

Bug #1641132 reported by Steve Langasek
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snappy
Won't Fix
Critical
Michael Vogt
Ubuntu Image
Expired
Undecided
Unassigned

Bug Description

The client team needs to begin making all-snap images for the Ubuntu Personal stack. However, snap prepare-image refuses to find snaps that have devmode enabled:

  ubuntu-image -c edge pc-amd64-model.assertion --extra-snaps unity8-session \
               --extra-snaps mir-kiosk --extra-snaps mir-libs \
               --extra-snaps mir-client-demos

  Fetching unity8-session
  error: cannot find snap "unity8-session": snap not found

The error message is opaque, but this is at least reasonable default behavior, since we don't want to allow devmode snaps on an all-snap image by default. However, if I try to set allowed-modes: developer, I get this error instead:

  error: model assertion cannot have reserved/unsupported header "allowed-modes" set

So it appears that currently, there is no way to include devmode snaps in a snappy image. This is a blocker for personal images at this point - I assume that the complete set of interfaces needed for a unity8 snap are still a bit away?

Tags: personal
Steve Langasek (vorlon)
Changed in snappy:
importance: Undecided → Critical
Changed in canonical-devices-system-image:
assignee: nobody → Pat McGowan (pat-mcgowan)
importance: Undecided → Critical
milestone: none → p1
status: New → Confirmed
assignee: Pat McGowan (pat-mcgowan) → Steve Langasek (vorlon)
tags: added: personal
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

lower importance as we have a temporary fork that allows it

Changed in canonical-devices-system-image:
importance: Critical → High
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Previous PR was rejected, needs discussion.

Changed in canonical-devices-system-image:
milestone: p1 → p2
Changed in snappy:
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I suppose this no longer is a valid issue. Let me mark it as Incomplete - please re-open if it's otherwise.

Changed in ubuntu-image:
status: New → Incomplete
no longer affects: canonical-devices-system-image
Changed in snappy:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-image:
status: Incomplete → Expired
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

AFAIK we decided not to support this so I'm marking it as won't fix.

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