Debugging Helm Deployment Failure Issues¶
Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress¶
This error usually occurs when multiple Helm operations—install, upgrade, or rollback—are triggered in quick succession. Here’s how to resolve it:
Using the OCP UI¶
- Log in to the OCP namespace.
- From the left sidebar, select Helm.
- Go to the Helm Releases tab and find the target release.
- Open the Revision History tab.
- Locate the most recent successful release (Status: Deployed).
- Click the three dots on the right and select Rollback.
- Wait for the rollback to finish.
- Rerun the failed GitHub Action deployment pipeline.
Using the CLI¶
- Check the current status of the release:
- List all revisions for the
pltsvc
release:
This command displays the release history, showing revision numbers and statuses such as DEPLOYED
, FAILED
, or SUPERSEDED
.
-
Identify the last successful release: Look for the latest revision with a
DEPLOYED
status. -
Rollback to the desired revision:
Replace <revision_number>
with the number of the last successful revision.
- Verify the rollback by checking the release status: