https://rancher.com/ logo
Title
m

miniature-wolf-97427

01/19/2023, 1:23 PM
Hi all. I've got a weird issue trying to install Longhorn on an RKE2 cluster via the Helm chart. My
longhorn-manager-*
pods aren't coming up and instead going in a
CrashLoopBackOff
status. Running
kubectl logs pod/longhorn-manager-xxxxx -n longhorn-system
gives me:
Defaulted container "longhorn-manager" out of: longhorn-manager, wait-longhorn-admission-webhook (init)
W0119 13:13:36.447109       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
time="2023-01-19T13:13:36Z" level=info msg="cannot list the content of the src directory /var/lib/rancher/longhorn/engine-binaries for the copy, will do nothing: failed to execute: nsenter [--mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net bash -c ls /var/lib/rancher/longhorn/engine-binaries/*], output , stderr ls: cannot access '/var/lib/rancher/longhorn/engine-binaries/*': No such file or directory\n: exit status 2"
I0119 13:13:36.496292       1 leaderelection.go:248] attempting to acquire leader lease longhorn-system/longhorn-manager-upgrade-lock...
I0119 13:13:36.510495       1 leaderelection.go:258] successfully acquired lease longhorn-system/longhorn-manager-upgrade-lock
time="2023-01-19T13:13:36Z" level=info msg="Start upgrading"
time="2023-01-19T13:13:36Z" level=info msg="setting default-engine-image not found"
time="2023-01-19T13:13:46Z" level=error msg="Upgrade failed: upgrade API version failed: cannot create CRDAPIVersionSetting: Internal error occurred: failed calling webhook \"<http://validator.longhorn.io|validator.longhorn.io>\": failed to call webhook: Post \"<https://longhorn-admission-webhook.longhorn-system.svc:9443/v1/webhook/validaton?timeout=10s>\": context deadline exceeded"
time="2023-01-19T13:13:46Z" level=info msg="Upgrade leader lost: <http://c3.hq.iwink.nl|c3.hq.iwink.nl>"
time="2023-01-19T13:13:46Z" level=fatal msg="Error starting manager: upgrade API version failed: cannot create CRDAPIVersionSetting: Internal error occurred: failed calling webhook \"<http://validator.longhorn.io|validator.longhorn.io>\": failed to call webhook: Post \"<https://longhorn-admission-webhook.longhorn-system.svc:9443/v1/webhook/validaton?timeout=10s>\": context deadline exceeded"
n

nutritious-oxygen-89191

03/27/2023, 7:37 AM
Hello, I get the same error, did you solve this?