-
Notifications
You must be signed in to change notification settings - Fork 458
[release-4.20] OCPBUGS-62073: Improve MCN CRD clean-up script #5296
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
[release-4.20] OCPBUGS-62073: Improve MCN CRD clean-up script #5296
Conversation
|
Skipping CI for Draft Pull Request. |
|
@djoshy: This pull request references Jira Issue OCPBUGS-62073, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
8f6d5b4 to
d9b79ce
Compare
|
/jira refresh |
|
@djoshy: This pull request references Jira Issue OCPBUGS-62073, which is invalid:
Comment In 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. |
d9b79ce to
1b77993
Compare
|
/jira refresh |
|
@djoshy: This pull request references Jira Issue OCPBUGS-62073, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
In 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. |
|
@djoshy: This pull request references Jira Issue OCPBUGS-62073, which is valid. 7 validation(s) were run on this bug
In 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. |
|
/retest |
1 similar comment
|
/retest |
|
I've tested this against a 4.19.5 cluster and it is behaving as expected. I first manually applied a v1alpha1 CRD to verify our solution: Then, it was upgraded to a 4.20 build with this PR. When the CVO applied the MCO manifests, I waited for the cronjob to suspend itself and then examined the cronjob's pod logs: I then verified that the v1 CRD was created. This took a couple of minutes to appear as the CVO has to run through its reconciliation graph again: After that, I deleted the cronjob manually to see how it would behave if the v1 CRD already existed: Observe the cronjob pod logs after the CVO reconciles it again(and it completes): This also matches with our current expectations. /verified by @djoshy |
|
@djoshy: This PR has been marked as verified by In 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. |
yuqi-zhang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed this with David and we're good with this intermediary fix to see what is tripping up some upgrades.
/label backport-risk-assessed
Holding off on lgtm while we check the node labels
|
@djoshy: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Per conversation with Scott on slack, it seems best to use |
isabella-janssen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, isabella-janssen, yuqi-zhang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1e4bcd6
into
openshift:release-4.20
|
@djoshy: Jira Issue Verification Checks: Jira Issue OCPBUGS-62073 Jira Issue OCPBUGS-62073 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 In 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. |
|
/cherry-pick release-4.19 |
|
@djoshy: new pull request created: #5299 In 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. |
This bug updates the
nodeSelectorof the cronJob to use the legacy control plane label(node-role.kubernetes.io/master) and also improves the logging of some of theoc getqueries.