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

Bug #1641132 reported by Steve Langasek on 2016-11-11
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Michael Vogt
Ubuntu Image

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?

Steve Langasek (vorlon) on 2016-11-11
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
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
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)
Ł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
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-image:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers