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

Blueprints from URL hangs daemon #3784

Open
Sploder12 opened this issue Nov 19, 2024 · 0 comments
Open

Blueprints from URL hangs daemon #3784

Sploder12 opened this issue Nov 19, 2024 · 0 comments
Labels
bug needs triage Issue needs to be triaged

Comments

@Sploder12
Copy link
Contributor

Sploder12 commented Nov 19, 2024

Describe the bug
Using blueprints by specifying a URL will cause the daemon to hang.

To Reproduce

  1. Run multipass launch https://github.com/canonical/multipass-blueprints/blob/main/v1/docker.yaml (or any valid blueprint URL)
  2. See instance with generated name try to launch then timeout
  3. Observe daemon hang

Expected behavior
The daemon replies with an error and does not try to start an undefined instance for bad blueprints. Or launches the blueprint correctly.

Logs
Logs are identical to that of a normal timeout error, except Cannot fetch image information: Unable to find an image matching hash "<hash>" appears occasionally.

Additional info

  • OS: Linux

Additional context
Related to canonical/multipass-blueprints#66

Issue resides with error handling in mp::Daemon::create_vm
The hanging appears to be from using the url as the release which is probably a yaml file (although not necessarily).

@Sploder12 Sploder12 added bug needs triage Issue needs to be triaged labels Nov 19, 2024
@Sploder12 Sploder12 changed the title Missing blueprint causes daemon to hang Missing instance in blueprint causes daemon to hang Nov 19, 2024
@Sploder12 Sploder12 changed the title Missing instance in blueprint causes daemon to hang Blueprints from URL hangs daemon Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant