Mantic preseeding of LXD using incorrect track/channel
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
livecd-rootfs (Ubuntu) | Status tracked in Oracular | |||||
Mantic |
Fix Committed
|
Undecided
|
Philip Roche | |||
Oracular |
New
|
Undecided
|
Unassigned |
Bug Description
Recent Mantic cloud image builds fail - see https:/
```
+ UBUNTU_
Fetching snap "lxd"
store_download.
error: cannot download snap "lxd": no snap revision available as specified
```
The was due to the default track now pointing to "5.21" instead of "latest". That change was made 20240411 which corresponds to when we started seeing failures.
The long term solution is to preseed from "latest/" for all snaps and no longer assume that "latest/" is the default.
[ Impact ]
All image with preseeding of the LXD snap will fail
[ Test Plan ]
* Successfully build image with LXD preseeded with these changes
* confirm LXD is preseeded/installed and works as expected.
* Confirm that preseeding other snap like google-cloud-cli for example in the GCE images continues to preseed as expected.
[ Where problems could occur ]
* If other snaps are also preseeded they might not be preseeded as expected. This is covered in the test plan.
[ Other Info ]
* A temporary workaround has been made to point 5.21/stable/
Related branches
- Philip Roche (community): Disapprove
- Steve Langasek: Needs Information
-
Diff: 31 lines (+5/-2)2 files modifieddebian/changelog (+4/-1)
live-build/functions (+1/-1)
- John Chittum (community): Approve
- Utkarsh Gupta: Approve
- Thomas Parrott (community): Approve
- Canonical Foundations Team: Pending requested
-
Diff: 28 lines (+8/-1)2 files modifieddebian/changelog (+7/-0)
live-build/functions (+1/-1)
This does not affect Noble as we no longer preseed LXD in >=Noble