-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[release-4.20] OCPBUGS-66963: Fix MachineConfigNode test in two-node fencing clusters #30540
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-66963: Fix MachineConfigNode test in two-node fencing clusters #30540
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
Skipping CI for Draft Pull Request. |
|
/payload-job periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-fencing-serial |
|
@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/ea64d9f0-cad8-11f0-82d9-b032e5074172-0 |
aa22c86 to
63790e1
Compare
|
/payload-job periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-fencing-serial |
|
@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c65c98d0-d0c4-11f0-9444-fc6aaf0198b4-0 |
145cb70 to
c2e3fd9
Compare
|
/payload-job periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-fencing-serial |
|
@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/15acd040-d119-11f0-8c35-805df7d32cb7-0 |
6053124 to
61c4f08
Compare
|
/payload-job periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-fencing-serial |
|
@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/cca79370-d1dc-11f0-9c86-b5ab24873007-0 |
|
/jira cherry-pick OCPBUGS-65970 |
|
@isabella-janssen: Jira Issue OCPBUGS-65970 has been cloned as Jira Issue OCPBUGS-66963. Will retitle bug to link to clone. 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. |
|
@isabella-janssen: This pull request references Jira Issue OCPBUGS-66963, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
/jira refresh |
|
@isabella-janssen: This pull request references Jira Issue OCPBUGS-66963, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
@isabella-janssen: This pull request references Jira Issue OCPBUGS-66963, which is valid. 7 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. |
|
/verified by periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-fencing-serial This change was verified by checking whether the |
|
@isabella-janssen: This PR has been marked as verified by 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. |
| func GetUpdatingNodeSNO(oc *exutil.CLI, mcpName string) corev1.Node { | ||
| // `GetUpdatingNode` returns the updating node, determined by the node targetting a new desired | ||
| // config, when the corresponding MCP starts updating | ||
| func GetUpdatingNode(oc *exutil.CLI, mcpName, originalConfigVersion string) corev1.Node { |
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.
Bit of a nit, and not really relevant to our tests, but there could potentially be more than one node updating in a pool based on maxUnavailable value.
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.
Yeah, that's true and I generally agree, but for the test I really only care to track 1 (even if 2 are updating). I could generalize the func so it is GetUpdatingNodes and returns all updating nodes then in my func just use the first from the list. If we need it more general I think it's fair to have whoever needs that change to make it.
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.
ack, sounds good to me
|
/lgtm Changes make sense to me, there might be a bit of room to refactor |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, isabella-janssen 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 |
Agree, but for the sake of keeping the scope of the backport as small as possible I decided to keep them separate (I probably should've consolidated them when I first implemented them). Hopefully in the QE migration work I can help clean stuff like this up. |
|
/retest-required |
|
@isabella-janssen: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
2854817
into
openshift:release-4.20
|
@isabella-janssen: Jira Issue Verification Checks: Jira Issue OCPBUGS-66963 Jira Issue OCPBUGS-66963 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
|
/cherrypick release-4.19 |
|
@isabella-janssen: new pull request created: #30590 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. |
|
Fix included in accepted release 4.20.0-0.nightly-2025-12-10-143047 |
What I did:
This updates the
Should properly transition through MCN conditions on rebootless node updatetest to apply a MC against the master MCP for any cluster where no worker MCP machines exist. Previously, only SNO clusters were treated differently, leading to issues with the test when the two-node fencing tests were turned on.How to verify:
Make sure the two-node case (
periodic-ci-openshift-release-master-nightly-4.20-e2e-metal-ovn-two-node-fencing-serial) is passing with this change.