Skip to content

Conversation

@df-build-team
Copy link

PR containing the latest commits from main branch

Approve InstallPlans only after OLM reaches RequiresApproval

OLM creates an initial InstallPlan that was approved immediately by
the ODF operator while OLM was still processing it. OLM then detected
the change as a modification conflict, treated the InstallPlan as
invalid, and created a second duplicate InstallPlan. Subscriptions
were updated to point to the new InstallPlan, which remained
unapproved and caused upgrades to get stuck in UpgradePending.

To prevent this, InstallPlans are now approved only after they reach
the RequiresApproval phase, indicating that OLM has finished
processing and is explicitly waiting for an external approver. This
avoids the conflict, prevents duplicate InstallPlans, and ensures
upgrades complete successfully.

Signed-off-by: Nitin Goyal <[email protected]>
@df-build-team df-build-team requested a review from a team January 22, 2026 07:43
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 22, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 22, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: df-build-team, iamniting

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 22, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit 1633de0 into release-4.22 Jan 22, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants