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

FATA[0026] error starting vm: error at 'creating and starting': error downloading binfmt - error retrieving redirect url #880

Closed
1 of 5 tasks
lexsoft00 opened this issue Nov 17, 2023 · 5 comments

Comments

@lexsoft00
Copy link

Description

I've started getting this error after upgrading to 0.6 with brew whenever I do a colima start.

INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0000] preparing network ...                         context=vm
INFO[0000] creating and starting ...                     context=vm
FATA[0026] error starting vm: error at 'creating and starting': error downloading binfmt: error downloading 'https://github.com/abiosoft/colima-core/releases/download/v0.6.0-2/binfmt-arm64.tar.gz': error retrieving redirect url: error running [curl -Ls -o /dev/null -w %{url_effective} https://github.com/abiosoft/colima-core/releases/download/v0.6.0-2/binfmt-arm64.tar.gz], output: "", err: "exit status 60"

Version

╰─ colima version && limactl --version && qemu-img --version                                                              ─╯
colima version 0.6.2
git commit: 22d7e5fbc86d5b8e3b27065a762800bc7960a0ff
limactl version 0.18.0
qemu-img version 8.1.2
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

Operating System

  • macOS Intel <= 13 (Ventura)
  • macOS Intel >= 14 (Sonoma)
  • Apple Silicon <= 13 (Ventura)
  • Apple Silicon >= 14 (Sonoma)
  • Linux

Output of colima status

╰─ colima status                                                                                                          ─╯
FATA[0000] error retrieving current runtime: empty value

Reproduction Steps

  1. Upgrade to /opt/homebrew/Cellar/colima/0.6.2
  2. colima delete
  3. colima start --cpu 6 --memory 12 --disk 100 --vm-type=qemu --mount-type=sshfs --dns=1.1.1.1
  4. colima stop
  5. colima start

Expected behaviour

No response

Additional context

No response

@vbhosle
Copy link

vbhosle commented Nov 21, 2023

I had same issue with MacOS(12.6.8) + Intel. After colima stop and then start it worked fine
❯ colima start
INFO[0002] starting colima
INFO[0002] runtime: docker
INFO[0003] preparing network ... context=vm
INFO[0005] starting ... context=vm

shasum: standard input: no properly formatted SHA checksum lines found
FATA[0089] error starting vm: error at 'starting': error downloading binfmt: error downloading 'https://github.com/abiosoft/colima-core/releases/download/v0.6.0-2/binfmt-amd64.tar.gz': error validating SHA sum for 'binfmt.tar.gz': exit status 1

❯ colima version && limactl --version && qemu-img --version
colima version 0.6.2
git commit: 22d7e5f

limactl version 0.18.0
qemu-img version 8.1.2

@lexsoft00
Copy link
Author

Upgrade and re-install fix it for me with the guide from here #888 (comment)

colima delete && colima prune

@abiosoft
Copy link
Owner

This should be fixed in v0.6.7

@hugo-HDSF
Copy link

do you know when you will be pushing the new colima.rb for version 0.6.7 to brew ? because right now, the install pull 0.6.6 ... and this version isn't stable.

@abiosoft
Copy link
Owner

do you know when you will be pushing the new colima.rb for version 0.6.7 to brew ? because right now, the install pull 0.6.6 ... and this version isn't stable.

v0.6.7 is now available on brew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants