-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use focal images? #1417
Comments
I'm talking about snapcraft VMs that are used as snap build-environments. Those are classic VMs use buildd variant. Currently there is only a daily stream for buildds. From https://cloud-images.ubuntu.com/buildd/daily/streams/v1/com.ubuntu.cloud:daily:download.json I think. It would be nice if you didn't hardcode blessings. For example, you can be sensitive to the "supported: true|false" key in the stream. Currently focal has it set to false, whilst others are set to true. And I would want to have a way to "launch" unblessed images, or self bless them myself. Or launch the one that is unsupported. Also, why are we having mappings in the multipass code, do you want more aliases on the images? Cause for example, in the buildd streams we can add alias "core20" on the focal image, and "core18" on the bionic one, etc. |
@xnox there are no other images than As for those mappings, snapcraft basically calls |
/me goes to see where/what/why buildd VM images are not up for focal. |
Ergh, they are there....
https://cloud-images.ubuntu.com/buildd/daily/focal/current/ has https://cloud-images.ubuntu.com/buildd/daily/focal/current/focal-server-cloudimg-amd64-disk.img Is that not what multipass/snapcraft/core20 VMs need ? |
Maybe i should just wait, cause it seems like they are not there for other series yet. |
(edited above to have the right PR number) |
@Saviq when will that land? It looks like multipass is the last one that doesn't support core20 yet.
Fails. With that PR it starts up the VM. Yet, creating a /+newsnap for it in launchpad works with stock/default settings, no tricks, no hacks. https://launchpad.net/~xnox/+snap/test-gadget-base-core20 And running Ubuntu 20.04 LTS is now out, and all the buildd images and core20 are now stable, and have security support. |
Hi @xnox, the buildd VM images are not considered stable, because there's no CI for them (to test what they're meant to be doing), so there's no way to automatically promote from AFAICT, I've now proposed #1520 to add the minimal 20.04 image as |
focal images already exist in daily streams, but not yet in release streams.
It seems to me, that once they do land in the release stream "multipass will not just work" because of the hardcoded mappings at https://github.com/canonical/multipass/blob/master/src/daemon/custom_image_host.cpp#L56
Could you please update those mappings for core20 / 20.04 / focal pointing at the non-existent release streams? Such that when they will be published there, "multipass just starts working" with them?
It would be also nice to have ability to point multipass at the daily streams, but imho that is a separate request which i have filed at #1416
The text was updated successfully, but these errors were encountered: