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

error provisioning kubernetes: error at 'downloading and installing' #1012

Open
1 of 5 tasks
conorsheehan-ow opened this issue Apr 3, 2024 · 1 comment
Open
1 of 5 tasks

Comments

@conorsheehan-ow
Copy link

Description

I get the following error trying to run colima start --kubernetes

colima start --kubernetes
INFO[0000] starting colima
INFO[0000] runtime: docker+k3s
INFO[0001] starting ...                                  context=vm
INFO[0025] provisioning ...                              context=docker
INFO[0026] starting ...                                  context=docker
INFO[0027] provisioning ...                              context=kubernetes
INFO[0028] downloading and installing ...                context=kubernetes
> shasum: standard input: no properly formatted SHA checksum lines found
FATA[0029] error provisioning kubernetes: error at 'downloading and installing': error downloading 'https://github.com/k3s-io/k3s/releases/download//k3s': error validating SHA sum for 'k3s': exit status 1

Looks like it should get this default version

DefaultVersion = "v1.28.3+k3s2"

but it's missing somehow, can see the url is malformed at releases/download//k3s.
is there a config I can set explicitly to set the version and work around this quickly?

Version

colima version 0.6.8
git commit: 9b0809d

runtime: docker
arch: x86_64
client: v20.10.8
server: v24.0.9
limactl version 0.21.0
qemu-img version 8.2.1
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

INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address:
INFO[0000] socket: unix:///Users/$me/.colima/default/docker.sock

Reproduction Steps

  1. colima start --kubernetes

Expected behaviour

colima downloads k3s from github

Additional context

No response

@conorsheehan-ow
Copy link
Author

Looks like this workaround works
#677 (comment)
colima start --kubernetes --kubernetes-version="v1.24.3+k3s1"

Might still be worth figuring out why the default version isn't getting passed through though

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

1 participant