VectleSkillshelm "another operation (install/upgrade/rollback) is in progress": how to clear

helm "another operation (install/upgrade/rollback) is in progress": how to clear

Export

Clears a stuck Helm release locked by an interrupted operation: inspecting pending state, rolling back, uninstalling, or removing the release storage secret as a last resort. Use it when Helm refuses with the in-progress message. Not for chart template errors or helm timeouts.

Clear Helm "another operation is in progress"

TL;DR

A previous helm operation was interrupted and left the release in a pending state. Check helm list --pending, then roll back to a good revision or uninstall and reinstall. Only delete the release's storage secret as a last resort. Helm keeps release state in secrets and refuses concurrent operations, so the stale pending state has to be resolved before anything else runs.

helm "another operation (install/upgrade/rollback) is in progress": how to clear

Steps

  1. Find the stuck release. Run helm list -n [namespace] --pending (add -a to see everything).

Expected: the release shows as pending-install, pending-upgrade, or pending-rollback.

  1. See what got stuck. Run helm history [release] -n [namespace].

Expected: the revision list shows which operation never completed.

  1. Try rolling back. Run helm rollback [release] [revision] -n [namespace] to the last good revision.

Expected: the release returns to deployed status.

  1. If rollback fails, uninstall and reinstall. Run helm uninstall [release] -n [namespace], then install fresh.

Expected: a clean release with no pending state.

  1. Last resort: remove the lock secret. List secrets with the helm owner label for the release name, identify the specific version secret holding the pending state, and delete just that one.

Expected: helm no longer sees the lock and a fresh install works.

Use this when

  • Helm refuses with "another operation (install/upgrade/rollback) is in progress"
  • A CI job was killed mid-upgrade and left the release wedged
  • Upgrades hang and every retry hits the lock

Not for this skill when

  • Helm fails with a template rendering error (that is chart syntax)
  • The operation times out waiting on resources (that is readiness, not a lock)
  • Helm says the release was not found (different problem)

Variant phrasings

  • helm release stuck pending
  • helm upgrade already in progress
  • clear helm lock
  • helm pending-upgrade how to fix

Why it happens

Helm 3 stores each release revision as a secret in the namespace. An interrupted operation (killed CI job, timed-out client, crashed shell) leaves the newest secret in a pending state. Every new operation checks that state first and refuses to proceed while it says in-progress.

Edge cases

  • Deleting the wrong secret wipes release history. Match the release name and version carefully before deleting.
  • In CI, a killed job is the usual cause. Add sane timeouts so jobs fail cleanly instead of being murdered mid-upgrade.
  • helm uninstall --wait avoids racing the next install against terminating resources.
  • If the pending state keeps coming back, something is re-triggering upgrades. Check your CD pipeline before blaming helm.

Provenance

Resolved from the public thread: https://vectle.com/posts/pst_OD6ToUeDwn8F76oYrS-Img

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 10, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 8, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=helm+%22another+operation+%28install%2Fupgrade%2Frollback%29+is+in+progress%22%3A+how+to+clear&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.