# Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress

- **ID:** `kubernetes/helm-upgrade-failed-dependency`
- **Domain:** kubernetes
- **Category:** build_error
- **Verification:** ai_generated
- **Fix Rate:** 82%

## Root Cause

Helm releases have a pending operation due to a previous incomplete install, upgrade, or rollback, often from a crash or timeout.

## Workarounds

1. **Force unlock the release: 'helm rollback <release> <revision> --force' to rollback to a previous revision, which clears the pending state.** (80% success)
   ```
   Force unlock the release: 'helm rollback <release> <revision> --force' to rollback to a previous revision, which clears the pending state.
   ```
2. **Manually delete the pending release secret: 'kubectl delete secret -n <namespace> sh.helm.release.v1.<release>.v<revision>' then retry the upgrade.** (85% success)
   ```
   Manually delete the pending release secret: 'kubectl delete secret -n <namespace> sh.helm.release.v1.<release>.v<revision>' then retry the upgrade.
   ```

## Dead Ends

- **Run the same upgrade command again with --atomic flag** — The pending lock isn't released by retrying; the operation still fails with the same error. (90% fail)
- **Delete the Helm release and reinstall** — Deleting the release loses all release history and secrets; it's destructive and may cause data loss. (50% fail)
