Skip to content

Rancher-backup app stuck in uninstalling state

This document (000021708) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Rancher 2.10.x

Situation

Uninstalling rancher-backup app results in the error below:

Error: failed to delete release: rancher-backup

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

Cause

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

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.