canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.76k stars 642 forks source link

Multipass failing to launch #3680

Closed s-makin closed 2 weeks ago

s-makin commented 2 weeks ago

Describe the bug For the past few hours, trying to launch an instance gives the launch failed: Remote "" is unknown or unreachable. response. I am trying to test a tutorial that uses Multipass as the VM. When I last tested the tutorial about a week ago, I didn't get this error.

I have been periodically retrying all morning and did manage to create one instance (which works just fine). I have tried testing this with other launch commands and it's giving the same response, so doesn't seem to depend on release.

To Reproduce Commands tried:

  1. multipass launch noble --name tutorial
  2. multipass launch noble --name test --disk 512M --memory 128M
  3. multipass launch xenial
  4. multipass launch jammy

Response to all is the same:

  1. launch failed: Remote "" is unknown or unreachable.

Expected behavior To launch the various instances given the image and conditions specified.

Logs multipasslog.txt

Additional info

Additional context The URLs the log says can't be fetched are accessible when I paste the link into the browser.

andrei-toterman commented 2 weeks ago

Hey, @s-makin! You could try running multipass find --force-update and then try launching again. If that does not work, try restarting the Multipass service with sudo snap restart multipass.

s-makin commented 2 weeks ago

Hey, @s-makin! You could try running multipass find --force-update and then try launching again. If that does not work, try restarting the Multipass service with sudo snap restart multipass.

Thanks for the reply @andrei-toterman, running a force update gives me this response: find failed: failed to download from 'https://cdimage.ubuntu.com/ubuntu-core/16/stable/current/ubuntu-core-16-amd64.img.xz': Operation canceled

Restarting multipass also didn't work - this gave the same launch failed: Remote "" is unknown or unreachable. error as before :/

s-makin commented 2 weeks ago

I tried manually downloading the image in the link, and it worked without issues, so I'm not sure why Multipass can't find it

andrei-toterman commented 2 weeks ago

Huh, that output and those logs indicate that this is a duplicate of #3662, which is weird. This will need some further investigations...

s-makin commented 2 weeks ago

Huh, that output and those logs indicate that this is a duplicate of #3662, which is weird. This will need some further investigations...

No problem, let me what you need from me :)

ricab commented 2 weeks ago

Hey @s-makin, to try to unblock you (and if you don't have other instances you need to keep) you can try snap remove --purge multipass and then snap install multipass again.

I am sorry I don't have a better answer for you, but it is unclear at this point what is going on. Not easy to investigate without a way to reproduce. I am going to mark this one as duplicate, but please chime in on the other one if you have any further clue or other input! Thanks.

ricab commented 2 weeks ago

Duplicate of #3662