OCPBUGS-88531: Remove CPO-side restart logic for CNO operands#8751
OCPBUGS-88531: Remove CPO-side restart logic for CNO operands#8751bryan-cox wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@bryan-cox: This pull request references Jira Issue OCPBUGS-88531, which is valid. 3 validation(s) were run on this bug
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughIn 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox 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 |
|
I now have all the evidence needed. The root cause is clear from the logs. Let me compile the final report. Test Failure Analysis CompleteJob Information
Test Failure AnalysisErrorSummaryThe gitlint CI check failed because the commit message title Root CauseThe hypershift repository enforces Conventional Commits format via gitlint (v0.19.1) with the The commit title This is purely a commit message formatting issue — there is no code or test problem. RecommendationsAmend the commit message to include a Conventional Commit type prefix before the JIRA key. The most appropriate type for this change is To fix: git commit --amend -m "refactor: OCPBUGS-88531: Remove CPO-side restart logic for CNO operands" \
-m "CNO now handles restart-date annotation propagation to all its operands
(multus-admission-controller, network-node-identity, ovnkube-control-plane,
cloud-network-config-controller) directly via the fix in CNO PR #3030.
The CPO-side restart logic for these deployments is now redundant and
can be removed.
Co-Authored-By: Claude Opus 4.6 <[email protected]>"
git push --force-with-leaseEvidence
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8751 +/- ##
==========================================
+ Coverage 41.75% 41.80% +0.05%
==========================================
Files 758 759 +1
Lines 93981 94021 +40
==========================================
+ Hits 39240 39305 +65
+ Misses 51988 51967 -21
+ Partials 2753 2749 -4
... and 5 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
CNO now handles restart-date annotation propagation to all its operands (multus-admission-controller, network-node-identity, ovnkube-control-plane, cloud-network-config-controller) directly via the fix in CNO PR openshift#3030. The CPO-side restart logic for these deployments is now redundant and can be removed. Co-Authored-By: Claude Opus 4.6 <[email protected]>
923dc8e to
5682e1f
Compare
|
@bryan-cox: 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. |
Summary
The
cleanupClusterNetworkOperatorResourcesfunction previously contained logic to readhypershift.openshift.io/restart-datefrom the HCP and patch it onto CNO-managed deployments. CNO reads the annotation from HCP itself and sets it as a pod template annotation on all rendered workloads, so the CPO-side logic is unnecessary duplication.Test plan
make buildpasses (confirmed locally)restart-dateannotation is set on HostedClusterSummary by CodeRabbit
ovnkube-sbdbRoute when applicable, and deleting theovnkube-master-externalandovnkube-master-internalServices.