Closed jmencak closed 7 months ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jmencak
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/cc @yanirq @ffromani @MarSik
This is the cleanup PR I talked about during the bug scrub. Once this merges, I'm no longer aware of any races in the operand code. Next plan it to remove the tuned/rendered
resource. This will come in a separate PR.
thanks, I'll carefully review ASAP
/retitle OCPBUGS-30647: NTO operand (openshift-tuned) fixes
@jmencak: This pull request references Jira Issue OCPBUGS-30647, which is invalid:
Comment /jira refresh
to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
The bug has been updated to refer to the pull request using the external bug tracker.
/retest-required
Infra issues /retest
/jira refresh
@jmencak: This pull request references Jira Issue OCPBUGS-30647, which is valid.
No GitHub users were found matching the public email listed for the QA contact in Jira (liqcui@redhat.com), skipping review request.
/test e2e-gcp-pao-workloadhints
initial review, I'll need more time to process the state machine changes. So far this seems a very nice set of improvements and cleanups, but more than ever I'd have split each change from the bullet list in its own commit to make it easier to review and to enable git bisect and easier troubleshooting later on.
Thank you for the initial review, Francesco. As for the split to several commits/bisect, OpenShift CI has a merge_method squash, so I believe this will not benefit you much unless you rely on github's web interface, right? If you insist on this, I can try to do the split later on once all the reviewers are happy with the code.
initial review, I'll need more time to process the state machine changes. So far this seems a very nice set of improvements and cleanups, but more than ever I'd have split each change from the bullet list in its own commit to make it easier to review and to enable git bisect and easier troubleshooting later on.
Thank you for the initial review, Francesco. As for the split to several commits/bisect, OpenShift CI has a merge_method squash, so I believe this will not benefit you much unless you rely on github's web interface, right? If you insist on this, I can try to do the split later on once all the reviewers are happy with the code.
If we ever split the commits is better to do it sooner to help the review :) Incidentally, I'm also against the merge method squash because it pretty much prevents any hope of (git) bisect in exchange to (AFAICT) only a marginally easier way to backport PRs. The tradeoff is pretty negative, but perhaps there are reasons I'm missing. Anyway I'm not pushing for this split, especially since it seems I'm the odd one here going against the flow. ("when in Rome...")
thanks @jmencak for the quick updates. I'll finish the review ASAP - still need to make sure I have a decent grasp of all the flows changed here.
/retest
/hold
I'd welcome more reviews from different ppl
/retest
/retest
/hold
I'd welcome more reviews from different ppl
Thank you. Any more things I should change, @yanirq , @MarSik so that we unblock Francesco? Thank you!
/retest-required
/lgtm /hold cancel
/retest
/retest-required
Remaining retests: 0 against base HEAD 226cd8323a8f2beeb521ffd86522811b6e0ebee4 and 2 for PR HEAD 8f0e0639683309a10646a49d3961e3b5677c53b9 in total
@jmencak: all tests passed!
Full PR test history. Your PR dashboard.
@jmencak: Jira Issue OCPBUGS-30647: All pull requests linked via external trackers have merged:
Jira Issue OCPBUGS-30647 has been moved to the MODIFIED state.
Fix included in accepted release 4.16.0-0.nightly-2024-04-16-015315
Changes:
updateTunedProfile()
and optimize the calls to update node annotations and update Profile.StatustunedStop()
to return only one valueTuneD
process shutdown, handle the fact theTuneD
process might have already exittedTuneD
process exits; whenTuneD
process exits, wait for k8s object changes and only then restartTuneD
TuneD
is reloading is now a status bit potentially reportable back to the operatorTuneD
event processor to avoid races, where it was previously possible to changeTuneD
configuration duringTuneD
profile reloadTuneD
finished reloading in case the primaryTuneD
profile does not existTuneD
reload when Cloud Provider changes