Some features are unsupported on UC20 right now

Bug #1875431 reported by Łukasz Zemczak
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Image
Fix Released
Medium
Łukasz Zemczak

Bug Description

For now we decided to disable the following features for UC20 (seeded) model assertions:

 * --disable-console-conf
 * --cloud-init
 * post-populate-rootfs hook

We will re-enable the first two once snapd learns how to deal with them. Once that happens, ubuntu-image will simply pass these as arguments to `snap prepare-image`.

Changed in ubuntu-image:
assignee: nobody → Łukasz Zemczak (sil2100)
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

We disabled some features for UC20 in 1.10, but we want to actually re-enable the features in 1.12 (or 1.13, depending on when snapd gets the functionality).

Changed in ubuntu-image:
status: In Progress → Fix Released
Revision history for this message
louds1lence (louds1lence) wrote :

I noticed that this was transitioned to Fix Released, however whenever I try to use those options I still get that it's not support with UC20 models.

I've cloned the latest repo (maint branch of https://github.com/canonical/ubuntu-image.git), built locally:

./ubuntu-image -w ./tmp snap --cloud-init=cloud.conf --disable-console-conf ubuntu-core-22-amd64.model

Error: Error preparing image: cannot support with UC20 model requested customizations: console-conf disable, cloud-init user-data

Am I looking in the wrong place?

Revision history for this message
Ben Dennerley (bdennerley-opennms) wrote :

Following up with the previous comment, using the latest version of everything I still receive the same error:

ubuntu-image: error: base: core20 model assertion detected, the following features are unsupported: --cloud-init

Is the fix for this issue still enroute?

Revision history for this message
Justin Cattle (jocado) wrote :

I would also like to know if this is going to be supported again.

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.