-
Notifications
You must be signed in to change notification settings - Fork 64
DFBUGS-5327:[release-4.21] controllers: approve InstallPlans only in RequiresApproval phase #726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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]>
|
@openshift-cherrypick-robot: This pull request references [Jira Issue DFBUGS-5327](https://issues.redhat.com//browse/DFBUGS-5327), which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/test odf-operator-e2e-aws |
|
/jira refresh |
|
@iamniting: This pull request references [Jira Issue DFBUGS-5327](https://issues.redhat.com//browse/DFBUGS-5327), which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: bkopilov. Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iamniting, openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a00c0f5
into
red-hat-storage:release-4.21
|
@openshift-cherrypick-robot: [Jira Issue DFBUGS-5327](https://issues.redhat.com//browse/DFBUGS-5327): All pull requests linked via external trackers have merged: [Jira Issue DFBUGS-5327](https://issues.redhat.com//browse/DFBUGS-5327) has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
This is an automated cherry-pick of #724
/assign iamniting