-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
colima start fails most of the time: error validating SHA sum #1163
Comments
Confirm this. colima 0.7.5 |
same problem too. colima 0.7.5, apple m1, Sequoia 15.0.1. as saw the 0.7.1 in download link " https://github.com/abiosoft/colima-core/releases/download/v0.7.1/ubuntu-24.04-minimal-cloudimg-arm64-docker.qcow2", use asdf to install v0.7.0. ( tried to install 0.7.4, saw the same v0.7.1 in download link)
|
The disk image versioning is not directly tied to Colima versions, that is not an issue. |
yes, you are right. what i mean is i saw disk image versioning changed from version 0.7.1 so i gave a try version 0.7.0 and it works. once installed, i can upgrade to 0.7.5, still works, it looks like not download the new version qcow2 image. however, cleaned up the cache, install 0.7.5 freshly, can re-produce the issue. i checked the checksum, both version images checksum in the github assets are correct, also manually downloaded images, still correct checksum. the code change to curl is just added flag "I". struggle to find which code change in version 0.7.1 caused the issue . |
hit the same error for the latest version 0.7.6, output with --very-verbose as below
the file /Users/xxx/Library/Caches/colima/caches/c3056771d27045a9b7b665f5ddbbac4e311078337847c505226bd184c8191d0c.downloading.invalid is 0 size
Installed colima 0.7.0 and run colima start --very-verbose, output as below
the file /Users/xxx/Library/Caches/colima/caches/4e1d6f9076c36aa5dc942101c931e0230f3c2c4eafae3c050ebc072dda0ad76b looks good
|
@KevinHuang40856 can you share the output of the command And does it fail all the time or intermittently? |
@abiosoft sure, the outpuf of command which shasum as below with my testing, any fresh installation of versions higher than v0.7.0 will fail all the time. |
@KevinHuang40856 can you manually download the file with curl and compute the shasum afterwards and see if it matches? Disk image: https://github.com/abiosoft/colima-core/releases/download/v0.7.6-1/ubuntu-24.04-minimal-cloudimg-amd64-docker.qcow2 |
@abiosoft sure. it matches. `❯ curl -L -o ubuntu-24.04-minimal-cloudimg-amd64-docker.qcow2 https://github.com/abiosoft/colima-core/releases/download/v0.7.6-1/ubuntu-24.04-minimal-cloudimg-amd64-docker.qcow2 % Total % Received % Xferd Average Speed Time Time Time Current
|
The problem keeps happening in v0.8.0 with |
yes, tested v0.8.0, same error. and tested v0.7.6, v0.7.1, got new errors "panic: runtime error: invalid memory address or nil pointer dereference", until finally got colima start run successfully after switched back to v0.7.0. full output goroutine 1 [running]: |
once got colima v0.7.0 started successfully, install newer version including v0.8.0 and have no problem to run colima start `❯ asdf install colima 0.8.0
runtime: docker |
|
run " colima start --runtime containerd" which will download different image for colima v0.8.0, same error validating SHA sum error
|
Description
I had to run
colima start
more than 5 times for it to start correctly. I am running from AWS-hosted M1 and M2 machines. Output follows:Version
Operating System
Output of
colima status
(I don't know if it matters, but I run this after a successful download)
Reproduction Steps
colima --verbose start -p default --cpu 8 --memory 12 --disk 256 --vm-type=vz --vz-rosetta
Expected behaviour
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: