wooden-pilot-96560
05/29/2024, 5:13 PMlonghorn-manager
stuck in Init:0/1
Cluster: v1.25.10+rke2r1
Longhorn: 1.4.2
Deployment: Helm
we initially tried to upgrade Longhorn to 1.5.5 using helm but it failed. After going through a few github issues we managed to get the upgrade to workwooden-pilot-96560
05/29/2024, 5:17 PMlonghorn-manager
pods are stuck.
I've noticed in longhorn-manager
daemonset this stanza
initContainers:
- command:
- sh
- -c
- while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k <https://longhorn-admission-webhook:9443/v1/healthz>)
!= "200" ]; do echo waiting; sleep 2; done
image: longhornio/longhorn-manager:v1.4.2
imagePullPolicy: IfNotPresent
name: wait-longhorn-admission-webhook
resources: {}
but the SVC for longhorn-admission-webhook
ports is
ports:
- name: admission-webhook
port: 9502
protocol: TCP
targetPort: admission-wh
selector:
app: longhorn-manager
wooden-pilot-96560
05/29/2024, 5:18 PMUID PID PPID C STIME TTY TIME CMD
root 1 0 0 17:04 ? 00:00:00 sh -c while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k <https://longhorn-admission-webhook:9443/v1/healthz>) != "200" ]; do echo waiting; sleep 2; done