mysterious-oyster-97902
08/30/2025, 9:18 PMstocky-account-63046
09/01/2025, 7:58 AMmysterious-oyster-97902
09/01/2025, 8:10 AMmysterious-oyster-97902
09/01/2025, 8:14 AMmysterious-oyster-97902
09/01/2025, 8:33 AMmysterious-oyster-97902
09/05/2025, 6:19 AMstocky-account-63046
09/05/2025, 7:48 AMmysterious-oyster-97902
09/14/2025, 9:57 AMhelm upgrade --history-max=5 --install=true --labels=<http://catalog.cattle.io/cluster-repo-name=rancher-charts|catalog.cattle.io/cluster-repo-name=rancher-charts> --namespace=longhorn-system --timeout=10m0s --values=/Users/matthijs/workspace/rancher/longhornvalues.yml --version=105.0.1+up1.6.4 --wait=true longhorn /Users/matthijs/workspace/rancher/charts/assets/longhorn/longhorn-105.0.1+up1.6.4.tgz
Error: UPGRADE FAILED: pre-upgrade hooks failed: 1 error occurred:
* job longhorn-pre-upgrade failed: BackoffLimitExceeded
Upgrading to the next version of longhorn:
helm upgrade --history-max=5 --install=true --labels=<http://catalog.cattle.io/cluster-repo-name=rancher-charts|catalog.cattle.io/cluster-repo-name=rancher-charts> --namespace=longhorn-system --timeout=10m0s --values=/Users/matthijs/workspace/rancher/longhornvalues.yml --version=106.1.1+up1.7.3 --wait=true longhorn /Users/matthijs/workspace/rancher/charts/assets/longhorn-crd/longhorn-crd-106.1.1+up1.7.3.tgz
Error: UPGRADE FAILED: Unable to continue with update: CustomResourceDefinition "<http://backingimagedatasources.longhorn.io|backingimagedatasources.longhorn.io>" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "<http://meta.helm.sh/release-name|meta.helm.sh/release-name>" must equal "longhorn": current value is "longhorn-crd"
The files are from the https://github.com/rancher/charts/tree/release-v2.12 git repo as that is used by rancher itself. The values I copied out of rancher.
I only really found this reddit post about it https://www.reddit.com/r/kubernetes/comments/1f34e1q/cant_update_longhorn_due_to_metahelmshreleasename/
But that didn't help me further. Do you have any idea what to do next?mysterious-oyster-97902
09/24/2025, 8:32 AMmysterious-oyster-97902
09/30/2025, 11:45 AMstocky-account-63046
09/30/2025, 1:06 PMmysterious-oyster-97902
10/03/2025, 12:57 PMhelm upgrade --history-max=5 --install=true --labels=<http://catalog.cattle.io/cluster-repo-name=rancher-charts|catalog.cattle.io/cluster-repo-name=rancher-charts> --namespace=longhorn-system --timeout=10m0s --values=/Users/matthijs/workspace/rancher/charts/charts/longhorn-crd/106.1.1+up1.7.3 /values-longhorn-crd-106.1.1+up1.7.3.yaml --version=106.1.1+up1.7.3 --wait=true longhorn-crd /Users/matthijs/workspace/rancher/charts/assets/longhorn-crd/longhorn-crd-106.1.1+up1.7.3.tgz
The rancher gui installs the crd as longhorn-crd the longhorn helm chart itself seems to want longhorn and not longhorn-crd, I'm not sure how i can change that?
Because I'm assuming this chart should update the longhorn application itself and not longhorn crd
helm upgrade --history-max=5 --install=true --labels=<http://catalog.cattle.io/cluster-repo-name=rancher-charts|catalog.cattle.io/cluster-repo-name=rancher-charts> --namespace=longhorn-system --timeout=10m0s --values=/home/shell/helm/values-longhorn-106.1.1+up1.7.3.yaml --version=106.1.1+up1.7.3--wait=true longhorn /home/shell/helm/longhorn-106.1.1+up1.7.3.tgz
I'm I using the correct chart? Or maybe I dont understand what you mean
Note: I have tried various versions but none work.mysterious-oyster-97902
10/04/2025, 9:05 AMlonghorn-pre-upgrade always thinks i want to upgrade to 1.9.4 and that's not compatiblemysterious-oyster-97902
10/05/2025, 3:13 PM