Skip to content

Rancher-backup app stuck in uninstalling state

Article Number: 000021708

Environment

SUSE Rancher 2.10.x

Situation

Uninstalling rancher-backup app results in the error below:

Error: failed to delete release: rancher-backup

Cause

"rancher-backup-crd" was deleted before deleting "rancher-backup" helm chart.

Resolution

  • Always delete the "rancher-backup" app first and then delete "rancher-backup-crd" when uninstalling the app. Deleting the CRD first might result in this issue.
  • As a workaround delete the relevant secret "sh.helm.release.v1.rancher-backup.v1" in "cattle-resources-system" namespace which should delete the app stuck in the "Uninstalling" state.
  • Then delete "cattle-resource-system" namespace:

#kubectl delete ns cattle-resources-system