[release-4.18] OCPBUGS-77368: Fix ignition-server pod restarts#7878
Conversation
|
@jparrill: This pull request references Jira Issue OCPBUGS-77368, 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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jparrill 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 |
|
/verified by @xiuwang |
|
@xiuwang: 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. |
|
/jira refresh |
|
@jparrill: This pull request references Jira Issue OCPBUGS-77368, 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. |
|
/jira refresh |
|
@jparrill: This pull request references Jira Issue OCPBUGS-77368, 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: 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. |
| kubeletConfigJsonPath string | ||
| } | ||
|
|
||
| //go:generate ../hack/tools/bin/mockgen -destination=sync-global-pullsecret_mock.go -package=syncglobalpullsecret . dbusConn |
There was a problem hiding this comment.
how is this change related to this PR?
There was a problem hiding this comment.
ohh it's not related, but the tag was there, claude figure it out that is not necessary. I can put it back but I think we are not using mockgen in this branch
| // Only set MIRRORED_RELEASE_IMAGE if we're using a mirror | ||
| if effectiveImage != controlPlaneReleaseImage { | ||
| mirroredReleaseImage = effectiveImage | ||
| if !r.IsCPOV2 { |
There was a problem hiding this comment.
why does this backport requires introducing the IsCPOV2 check?
There was a problem hiding this comment.
Nope I don't think so.
efdf7e3 to
68e01ac
Compare
68e01ac to
3b05fc8
Compare
|
@jparrill: This pull request references Jira Issue OCPBUGS-77368, 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. |
Adapt the changes from the previous commits (removal of MIRRORED_RELEASE_IMAGE and non-deterministic getRegistryOverrides/ LookupMappedImage logic) to the CPOv1 ignition server reconciliation path. Changes: - Remove MIRRORED_RELEASE_IMAGE env var from reconcileDeployment - Remove mirroredReleaseImage parameter from ReconcileIgnitionServer and reconcileDeployment signatures - Remove LookupMappedImage-based registry override computation that performed live HTTP registry checks causing non-deterministic results - Use static registryOverrides from ReleaseProvider directly - Clean up unused imports (common, registryclient) This ensures functional parity between CPOv1 and CPOv2 for the ignition-server deployment reconciliation. Fixes: OCPBUGS-77367 Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
3b05fc8 to
ef84385
Compare
|
Ok, PR changed:
|
|
@jparrill: 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. |
|
/verified by @xiuwang |
|
@xiuwang: 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. |
|
/lgtm |
4e0a2e4
into
openshift:release-4.18
|
@jparrill: Jira Issue Verification Checks: Jira Issue OCPBUGS-77368 Jira Issue OCPBUGS-77368 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. |
|
Fix included in accepted release 4.18.0-0.nightly-2026-03-10-234310 |
Backport
This is a manual backport of #7858 to
release-4.18.The automatic cherry-pick failed due to conflicts which have been resolved manually.
Original PR
Changes
mirroredReleaseImageparameter and its inline computation (SeekOverride, pullSecret fetch) from the ignition server reconciliation inhostedcontrolplane_controller.gomirroredReleaseImageparameter fromReconcileIgnitionServerandreconcileDeploymentsignaturesLookupMappedImage-based registry override computation that performed live HTTP registry checks causing non-deterministic resultsMIRRORED_RELEASE_IMAGEenv var fromreconcileDeploymentregistryOverridesfromReleaseProviderdirectly instead of dynamically-discovered mirror mappingscommon,registryclient)Backport adaptations
mirroredReleaseImagewas obtained viar.ReleaseProvider.GetMirroredReleaseImage()(1 line). In 4.18, it was computed inline (~15 lines: pullSecret fetch,SeekOverride, image comparison). Both removed with the same effect.util.LabelHCPRoutes()to locallabelHCPRoutes()function (release-4.18 uses the local version)Jira
🤖 Generated with
/hypershift-backportcommand via Claude Code