OCPBUGS-86961: CI job kubevirt-metal-ovn-multinet fails to install MetalLB operator#80167
OCPBUGS-86961: CI job kubevirt-metal-ovn-multinet fails to install MetalLB operator#80167amogh-redhat wants to merge 1 commit into
Conversation
|
Skipping CI for Draft Pull Request. |
|
@amogh-redhat: This pull request references Jira Issue OCPBUGS-86961, 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. |
|
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)
WalkthroughThis PR updates the hypershift MCE periodic Prow job configuration to add the ChangesMCE MetalLB Operator Environment Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amogh-redhat The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
What this PR does / why we need it :
The following jobs fails to install MetalLB operator:
https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-multinet/2060843873688621056
https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-hypershift-release-4.22-periodics-mce-e2e-kubevirt-metal-ovn-multinet-default-net/2060934532646834176
The configurations for the jobs are stored in “ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics-mce.yaml” .
METALLB_OPERATOR_SUB_SOURCE variable is missing for the below tests:
e2e-kubevirt-metal-ovn-multinet
e2e-kubevirt-metal-ovn-multinet-default-net
This is the reason why the job looks for METALLB_OPERATOR_SUB_SOURCE value in the workflow yaml - “ci-operator/step-registry/hypershift/mce/kubevirt/baremetalds/conformance/hypershift-mce-kubevirt-baremetalds-conformance-workflow.yaml”.
The METALLB_OPERATOR_SUB_SOURCE value is defined as “qe-app-registry” in the workflow yaml.
This is causing the error, as the OLM operator couldn’t find “metallb-operator” in “qe-app-registry”.
To fix this, i have adds the “METALLB_OPERATOR_SUB_SOURCE: metallb-konflux” for both the tests mentioned above under the “env:”.
Other tests that are running for the same version already have this variable under "env".
example - e2e-kubevirt-metal-ovn, e-agent-connected-ovn-ipv4-metal-conformance.
Which issue(s) this PR fixes: Fixes - https://redhat.atlassian.net/browse/OCPBUGS-86961
Checklist:
Subject and description added to both, commit and PR.
Relevant issues have been referenced.
This change includes docs.
This change includes unit tests.
Summary by CodeRabbit
This PR fixes periodic CI job failures in the OpenShift HyperShift MCE (Multicluster Engine) testing pipeline. Two KubeVirt BareMetalDS conformance tests—
e2e-kubevirt-metal-ovn-multinetande2e-kubevirt-metal-ovn-multinet-default-net—were failing to install the MetalLB operator during their execution.The root cause was a missing environment variable in the job configuration. These tests rely on a workflow that installs MetalLB, but without the
METALLB_OPERATOR_SUB_SOURCEvariable explicitly set, it defaults toqe-app-registrywhere the metallb-operator is not available, causing OLM installation to fail.The fix adds
METALLB_OPERATOR_SUB_SOURCE: metallb-konfluxto both job configurations in the HyperShift MCE periodic jobs manifest (openshift-hypershift-release-4.22__periodics-mce.yaml). This aligns them with other similar tests for the same release that already have this variable configured.Impact: Resolves installation failures in periodic CI tests for HyperShift's KubeVirt multinetwork conformance testing, allowing the MetalLB operator to be properly sourced from the correct operator registry during test execution.