PSA: Two regressions were found in v1.5.0: The wor...
# longhorn-storage
f
PSA: Two regressions were found in v1.5.0: The workaround has been provided as below and the issues will be fixed in the upcoming v1.5.1 patch. We recommend users to stop upgrading to v1.5.0 and wait for v1.5.1 release. Thanks for the understanding. Issue 1: Longhorn v1.5.0 merged webhook and recovery deployments longhorn-manager DaemonSet but they are accidentally left in from Helm templates (due to a Helm chart syncing issue between different repos). The workaround is deleting these deployments manually
kubectl delete deployments.apps longhorn-admission-webhook longhorn-conversion-webhook longhorn-recovery-backend -n longhorn-system
Issue 2: We missed updated the webhook logic for orphan CR thus blocking any update to orphan CR. The workaround for this one is: 1. Edit
longhorn-webhook-validator
validatingwebhookconfigurations
Copy code
kubectl -n longhorn-system edit validatingwebhookconfigurations longhorn-webhook-validator
2. Remove
UPDATE
from
orphans
resources
Copy code
...
  - apiGroups:
    - <http://longhorn.io|longhorn.io>
    apiVersions:
    - v1beta2
    operations:
    - CREATE
    - UPDATE
    resources:
    - orphans
...
3. Continue the upgrade --- ref: https://github.com/longhorn/longhorn/issues/6246
👍 2
🎯 1