Building a Ubuntu Core image with a 3rd party snap in the brand store doesn't pull in the correct base snap
This bug report will be marked for expiration in 24 days if no further activity occurs. (find out why)
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.
Changed in ubuntu-image: | |
status: | New → Incomplete |
Hey Luke,
Do you still encounter this bug with ubuntu-image 3.X? Is this still relevant?