fast-ice-89102
11/07/2022, 2:42 PMcold-baker-3351
11/07/2022, 4:32 PMadorable-kitchen-53362
11/07/2022, 8:11 PMError Starting Kubernetes
Error: /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> exited with code 1
Last command run:
/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> start --tty=false /Users/<USERID>/Library/Application Support/rancher-desktop/lima/_config/0.yaml
Context:
Starting virtual machine
Some recent logfile lines:
'time="2022-11-07T11:22:07-06:00" level=fatal msg="instance name \\"0\\" too long: \\"/Users/<USERID>/Library/Application Support/rancher-desktop/lima/0/ssh.sock.1234567890123456\\" must be less than UNIX_PATH_MAX=104 characters, but is 108"\n',
code: 1,
command: [
'/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>',
'start',
'--tty=false',
'/Users/armandodavidbelicazarate/Library/Application Support/rancher-desktop/lima/_config/0.yaml'
]
}
some-bird-53040
11/08/2022, 4:51 AMrefined-scooter-11467
11/08/2022, 8:43 AMbrief-eve-68728
11/09/2022, 2:52 PMfast-ice-89102
11/09/2022, 2:57 PMcuddly-night-88590
11/09/2022, 3:27 PMsome-sandwich-85435
11/09/2022, 6:02 PM{
"insecure-registries": [
"mylocalhost:5000"
]
}
but I can't find the file.freezing-tailor-4245
11/09/2022, 10:08 PMtall-kite-83186
11/10/2022, 9:06 AMcrooked-sundown-91277
11/10/2022, 10:04 AMgreat-london-38353
11/10/2022, 2:50 PMlimactl shell --workdir=. 0 sudo /sbin/rc-service --ifnotstarted docker start
* /var/log/docker.log: creating file
* /var/log/docker.log: correcting owner
* Starting Docker Daemon ... [ ok ]
2022-11-03T17:29:22.990Z: > limactl copy /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/linux/internal/rancher-desktop-guestagent|Desktop.app/Contents/Resources/resources/linux/internal/rancher-desktop-guestagent> 0:./rancher-desktop-guestagent
$ Error: spawn /Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> EACCES
sticky-summer-13450
11/11/2022, 10:39 AMhelpful-butcher-75556
11/11/2022, 2:36 PMTerminating
I see many posts that talk about about deleting the finalizers
, but when I do CLI replace or edit with the dashboard, the finalizers
keep coming back and the namespaces are still there. Any other ideas to clean them up?bored-farmer-36655
11/11/2022, 2:44 PMhttps://rancher-users.slack.com/files/U0281GRD6DP/F04AGEQD1KP/screenshot_from_2022-11-11_08-36-17.png▾
bored-farmer-36655
11/11/2022, 4:21 PMsparse-monitor-30665
11/11/2022, 4:35 PMsparse-monitor-30665
11/11/2022, 4:37 PM2022-11-11T15:46:31.837Z: [HPM] Error occurred while proxying request 127.0.0.1:6120/v1/management.cattle.io.setting to <https://127.0.0.1:9443/> [ECONNREFUSED] (<https://nodejs.org/api/errors.html#errors_common_system_errors>)
2022-11-11T15:49:35.362Z: Proxy Error: Error: connect ECONNREFUSED 127.0.0.1:9443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 9443
}
sparse-monitor-30665
11/11/2022, 4:40 PM2022-11-11T15:46:20.349Z: stderr: time="2022-11-11T10:46:20-05:00" level=info msg="Listening on 127.0.0.1:9443"
time="2022-11-11T10:46:20-05:00" level=info msg="Listening on 127.0.0.1:9080"
2022-11-11T15:46:20.349Z: stderr: time="2022-11-11T10:46:20-05:00" level=fatal msg="http server failed: listen tcp 127.0.0.1:9080: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted."
2022-11-11T15:46:20.355Z: child process exited with code 1
sparse-monitor-30665
11/11/2022, 4:46 PMwitty-honey-18052
11/11/2022, 6:48 PMwitty-honey-18052
11/11/2022, 6:49 PMwitty-honey-18052
11/11/2022, 6:50 PMmysterious-potato-12169
11/12/2022, 5:25 PMnerdctl
?
For example, I want to do something like export CONTAINERD_NAMESPACE=<http://k8s.io|k8s.io>
to allow standard builds to be used in k8s. Right now I am modifying the nerdctl
script in $HOME/.rd/bin/nerdctl
to manually include that env variable, but that seems like a hack.
This is all in an attempt to get nerdctl
to behave more closely to docker
. Any help is appreciated! Thanks.bored-farmer-36655
11/12/2022, 5:36 PMalias k8nerdctl=CONTAINERD_NAMESPACE=<http://k8s.io|k8s.io> nerdctl
mysterious-potato-12169
11/12/2022, 5:38 PMnerdctl
command is actually a file that shells into the limactl
and uses the internal nerdctl
. So somewhere along the way the env is lost.mysterious-potato-12169
11/12/2022, 5:40 PMLIMA_HOME="$HOME/Library/Application Support/rancher-desktop/lima" "${scriptdir}/../lima/bin/limactl" shell 0 sudo --preserve-env=CONTAINERD_ADDRESS CONTAINERD_NAMESPACE="${CONTAINERD_NAMESPACE:-default}" nerdctl "$@"
bored-farmer-36655
11/12/2022, 6:00 PM$HOME/.local/share/rancher-desktop/lima/_config/0.yaml
under env: CONTAINERD_NAMESPACE=k8s.iobored-farmer-36655
11/12/2022, 6:01 PM.local/share/rancher-desktop/lima/_config/override.yaml