Failed to restart the kim builder on macos
See original GitHub issueRancher Desktop Version
0.7.1
Rancher Desktop K8s Version
1.22.5
What operating system are you using?
macOS
Operating System / Build Version
11.0.1
What CPU architecture are you using?
x64
Windows User Only
No response
Actual Behavior
2021-12-22T02:15:52.973Z: Installing kim: kim builder install --force --endpoint-addr 127.0.0.1
2021-12-22T02:17:17.157Z: Failed to restart the kim builder: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/kim exited with code 1.
2021-12-22T02:17:17.157Z: Attempt to run 'kim install builder' => error: 'time="2021-12-22T10:15:53+08:00" level=info msg="Applying node-role `builder` to `lima-rancher-desktop`"
time="2021-12-22T10:15:55+08:00" level=info msg="Asserting namespace `kube-image`"
time="2021-12-22T10:15:55+08:00" level=info msg="Asserting TLS secrets"
time="2021-12-22T10:15:56+08:00" level=info msg="Asserting service/endpoints"
time="2021-12-22T10:15:56+08:00" level=info msg="Installing builder daemon"
time="2021-12-22T10:15:56+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:02+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:08+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:15+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:20+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:25+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:32+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:37+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:42+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:47+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:16:54+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:17:00+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:17:05+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:17:11+08:00" level=info msg="Waiting on builder daemon availability..."
time="2021-12-22T10:17:17+08:00" level=info msg="Waiting on builder daemon availability..."
Error: timeout waiting for builder to become available
Usage:
kim builder install [OPTIONS]
Flags:
--agent-image string Image to run the agent w/ missing tag inferred from version
--agent-port int Port that the agent will listen on (default 1233)
--buildkit-image string BuildKit image for running buildkitd (default "docker.io/moby/buildkit:v0.8.3")
--buildkit-port int BuildKit service port (default 1234)
--buildkit-socket string BuildKit socket address (default "unix:///run/buildkit/buildkitd.sock")
--containerd-socket string Containerd socket address (default on k3s "/run/k3s/containerd/containerd.sock")
--containerd-volume string Containerd storage volume (default on k3s "/var/lib/rancher")
--force Force installation by deleting existing builder
-h, --help help for install
--no-fail Do not fail if backend components are already installed
--no-wait Do not wait for backend to become available
--selector string Selector for nodes (label query) to apply builder role
Global Flags:
-x, --context string kubeconfig context for authentication
--debug
--debug-level int
-k, --kubeconfig string kubeconfig for authentication
-n, --namespace string namespace (default "kube-image")
time="2021-12-22T10:17:17+08:00" level=fatal msg="timeout waiting for builder to become available"
'
2021-12-22T02:17:17.157Z: A reset might be necessary to support building images.
Steps to Reproduce
start after installed.
Result
Expected Behavior
No error.
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issues · rancher/kim - GitHub
kim build with Rancher Desktop fails to pull base images from custom registry with self-signed cert. #86 opened on Nov 4, 2021 by...
Read more >All about Rancher Desktop and Kim - YouTube
Rancher Desktop is a Kubernetes and container management desktop application for Mac and Windows. With it, you can run your Kubernetes ...
Read more >Changelog — Python 3.11.1 documentation
To fix the race condition, the thread which requested the GIL drop now resets its request before exiting. Issue discovered and analyzed by...
Read more >Troubleshooting macOS Sierra Problems - OSXDaily
The solution to this is fairly straight forward: Delete any existing Sierra installers, whether they are half-downloaded or not, reboot the Mac, ...
Read more >Flutter build iOS got error: Requested but did not find ...
A workaround that worked for me was to install the previous stable Xcode version 13.2.1 and build it from the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve given my environment 16gb of ram and 6 cpu on my macbook pro i9. I get the error after (re)starting. The builder seems to crash but does recover on its own without me pressing OK in the prompt:
This is a separate issue, and as you noted in #1127, RD does not currently work as a regular (non-admin) user. We obviously need to fix this.
As I wrote in the other issue,
kim
is being removed from RD in the next release and buildkitd will run as a native service.