Skip to content
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

Handle unsupported images better at launch #3934

Open
ricab opened this issue Feb 12, 2025 · 0 comments
Open

Handle unsupported images better at launch #3934

ricab opened this issue Feb 12, 2025 · 0 comments
Labels
enhancement needs triage Issue needs to be triaged

Comments

@ricab
Copy link
Collaborator

ricab commented Feb 12, 2025

What are you trying to do?
multipass launch 16.04 behaves pretty much the same as multipass launch lts, except that the former fails to complete, because the image is no longer supported.

We decided a while ago to scope such images out of what Multipass is supposed to support. See #3443 and #1068 for reference. However, the UX is not great today. People keep trying this, seeing it fail in an ungraceful way, which must be disappointing.

What's your proposed solution?
I propose Multipass does one of 3 things:

  1. Stop offering unsupported images entirely (people could still launch them from files or URLs directly).
  2. Allow launching unsupported images only if the user passes a new --allow-unsupported flag. We should then probably require this flag for any file-/URL-based launches.
  3. Warn the user that the image is unsupported. Warnings are not shown by default though, so we'd need to think about how to achieve this.

Since we want to allow file/URL based launches (allowing images that are not supported ubuntu releases) I think my preference would be option 2.

Additional Context

$ multipass find xenial
No images or blueprints found.
$ multipass find --show-unsupported xenial
Image                       Aliases           Version          Description
xenial                                        20211001         Ubuntu 16.04 LTS
daily:xenial                                  20211001         Ubuntu 16.04 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant