Building a Ubuntu Core image with a 3rd party snap in the brand store doesn't pull in the correct base snap

Bug #1844711 reported by Luke Williams

This bug report will be marked for expiration in 24 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Image
Incomplete
Undecided
Unassigned

Bug Description

When building an Ubuntu Core image using ubuntu-image, the model assertion has required-snaps to pull in snaps from the brand store. When the image builds and is booted, there is an error where the 3rd party snap, in this instance mosquitto, fails to load with the following error:
Ensure prerequisites for "mosquitto" are available
If the third party snap is removed from the model assertion, the image builds successfully, and the user can install the snap via sudo snap install mosquitto and it works.
We tried building the image from the Public store, but used the --snap flag to install the mosquitto snap and in that image, it works.
It looks like that if you use the model assertion required-snaps, it doesn't pull in the core snap, where using --snap it does.

Request that ubuntu-image when using a signed model assertion with required-snaps, it pull in the requisite base snap if it is required.

Revision history for this message
Paul Mars (upils) wrote :

Hey Luke,

Do you still encounter this bug with ubuntu-image 3.X? Is this still relevant?

Paul Mars (upils)
Changed in ubuntu-image:
status: New → Incomplete
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.