Skip to content

OCPBUGS-83598: ovn-kubernetes: use OCP-matching CNV version for BGP virt 4.22 jobs#77970

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
mkowalski:fix-cnv-version-ovn-bgp-4.22
Apr 21, 2026
Merged

OCPBUGS-83598: ovn-kubernetes: use OCP-matching CNV version for BGP virt 4.22 jobs#77970
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
mkowalski:fix-cnv-version-ovn-bgp-4.22

Conversation

@mkowalski
Copy link
Copy Markdown
Contributor

@mkowalski mkowalski commented Apr 17, 2026

Summary

Bug: https://issues.redhat.com/browse/OCPBUGS-83598

  • Change CNV_PRERELEASE_LATEST_CHANNEL from "true" to "false" for the 4 BGP virt periodic jobs on release-4.22
  • When set to "true", the kubevirt-install step hardcodes cnv_version=4.99, installing a non-existent CNV version
  • Setting to "false" makes the step derive the version dynamically via ocp_version(), correctly resolving to 4.22

Affected jobs:

  • e2e-metal-ipi-ovn-bgp-virt-ipv4-techpreview
  • e2e-metal-ipi-ovn-bgp-virt-ipv4
  • e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview
  • e2e-metal-ipi-ovn-bgp-virt-dualstack

Test plan

  • Verify the affected periodic jobs install CNV 4.22 (nightly-4.22 channel, nightly-catalog:4.22 image)
  • Confirm CNV operator reaches Succeeded phase during job execution

🤖 Generated with Claude Code

The BGP virt periodic jobs were setting CNV_PRERELEASE_LATEST_CHANNEL
to "true", which hardcodes cnv_version=4.99 in the kubevirt-install
step. This installs a non-existent CNV version instead of the one
matching the OCP cluster. Setting to "false" makes the install script
derive the version dynamically from the cluster (4.22).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 17, 2026

Walkthrough

Updated the test execution environment for four OVN-Kubernetes metal IPI "virt" e2e workflows by changing the CNV_PRERELEASE_LATEST_CHANNEL configuration value from "true" to "false" across all affected test steps.

Changes

Cohort / File(s) Summary
CI Configuration Update
ci-operator/config/openshift/ovn-kubernetes/openshift-ovn-kubernetes-release-4.22__periodics.yaml
Changed CNV_PRERELEASE_LATEST_CHANNEL from "true" to "false" in four metal IPI "virt" e2e test workflows.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 10
✅ Passed checks (10 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Stable And Deterministic Test Names ✅ Passed PR modifies CI/CD configuration files (YAML), not Ginkgo test code. The custom check for stable and deterministic Ginkgo test names is not applicable to configuration files.
Test Structure And Quality ✅ Passed This PR modifies only a YAML CI/CD configuration file with no Ginkgo test code present, making the custom check not applicable.
Microshift Test Compatibility ✅ Passed PR only modifies CI configuration values in YAML file without adding or changing any Ginkgo test code.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This pull request only modifies a YAML CI configuration file for the ovn-kubernetes project. The changes update the CNV_PRERELEASE_LATEST_CHANNEL environment variable for four periodic jobs to ensure they use CNV version 4.22 instead of a non-existent pre-release version. There are no new Ginkgo e2e tests added.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only CI/CD job configuration, not deployment manifests, operator code, or controllers, so scheduling constraint check is not applicable.
Ote Binary Stdout Contract ✅ Passed This check is not applicable to the PR. The PR modifies only a YAML configuration file updating environment variable values; the OTE Binary Stdout Contract check targets executable test binary code violations.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR does not add any new Ginkgo e2e tests. The changes are exclusively to CI configuration in a YAML file, modifying environment variables that affect how existing test workflows execute. Since the custom check applies only when new Ginkgo e2e tests are added and no new test code is present, the check is not applicable.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly relates to the main change: updating CNV version configuration for OVN-Kubernetes BGP virt jobs on release-4.22 by modifying the CNV_PRERELEASE_LATEST_CHANNEL setting.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from kyrtapz and tssurya April 17, 2026 13:30
@mkowalski mkowalski changed the title ovn-kubernetes: use OCP-matching CNV version for BGP virt 4.22 jobs OCPBUGS-83598: ovn-kubernetes: use OCP-matching CNV version for BGP virt 4.22 jobs Apr 17, 2026
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 17, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@mkowalski: This pull request references Jira Issue OCPBUGS-83598, which is invalid:

  • expected the bug to target the "5.0.0" version, but no target version was set

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.

Details

In response to this:

Summary

Bug: https://issues.redhat.com/browse/OCPBUGS-83598

  • Change CNV_PRERELEASE_LATEST_CHANNEL from "true" to "false" for the 4 BGP virt periodic jobs on release-4.22
  • When set to "true", the kubevirt-install step hardcodes cnv_version=4.99, installing a non-existent CNV version
  • Setting to "false" makes the step derive the version dynamically via ocp_version(), correctly resolving to 4.22

Affected jobs:

  • e2e-metal-ipi-ovn-bgp-virt-ipv4-techpreview
  • e2e-metal-ipi-ovn-bgp-virt-ipv4
  • e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview
  • e2e-metal-ipi-ovn-bgp-virt-dualstack

Test plan

  • Verify the affected periodic jobs install CNV 4.22 (nightly-4.22 channel, nightly-catalog:4.22 image)
  • Confirm CNV operator reaches Succeeded phase during job execution

🤖 Generated with Claude Code

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.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@mkowalski: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack N/A periodic Ci-operator config changed
periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview N/A periodic Ci-operator config changed
periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-ipv4 N/A periodic Ci-operator config changed
periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-ipv4-techpreview N/A periodic Ci-operator config changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@mkowalski
Copy link
Copy Markdown
Contributor Author

/jira refresh
/pj-rehearse periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-ipv4-techpreview periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-ipv4 periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@mkowalski: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Apr 17, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@mkowalski: This pull request references Jira Issue OCPBUGS-83598, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

/jira refresh
/pj-rehearse periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-ipv4-techpreview periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-ipv4 periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview periodic-ci-openshift-ovn-kubernetes-release-4.22-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack

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.

@dgoodwin
Copy link
Copy Markdown
Contributor

/approve

We really should get CNV to lgtm though, I'll see who I can find.

@mkowalski
Copy link
Copy Markdown
Contributor Author

/approve

We really should get CNV to lgtm though, I'll see who I can find.

Just pinged OVN-K for that. It's one of those spaghetti tests I told you about where we have core&blocking test depending on "optional" product...

Copy link
Copy Markdown
Contributor

@maiqueb maiqueb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tks. This makes sense since 4.99 now applies to openshift 4.23 (i.e. after branch is cut from main).

@mkowalski
Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@mkowalski: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Apr 21, 2026
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 21, 2026
@jcaamano
Copy link
Copy Markdown
Contributor

/approve

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 21, 2026
@maiqueb
Copy link
Copy Markdown
Contributor

maiqueb commented Apr 21, 2026

/lgtm

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 21, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgoodwin, jcaamano, maiqueb, mkowalski

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mkowalski
Copy link
Copy Markdown
Contributor Author

/retest-required

@openshift-merge-bot openshift-merge-bot Bot merged commit 24cd161 into openshift:main Apr 21, 2026
11 of 18 checks passed
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@mkowalski: Jira Issue OCPBUGS-83598: Some pull requests linked via external trackers have merged:

The following pull request, linked via external tracker, has not merged:

All associated pull requests must be merged or unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-83598 has not been moved to the MODIFIED state.

Details

In response to this:

Summary

Bug: https://issues.redhat.com/browse/OCPBUGS-83598

  • Change CNV_PRERELEASE_LATEST_CHANNEL from "true" to "false" for the 4 BGP virt periodic jobs on release-4.22
  • When set to "true", the kubevirt-install step hardcodes cnv_version=4.99, installing a non-existent CNV version
  • Setting to "false" makes the step derive the version dynamically via ocp_version(), correctly resolving to 4.22

Affected jobs:

  • e2e-metal-ipi-ovn-bgp-virt-ipv4-techpreview
  • e2e-metal-ipi-ovn-bgp-virt-ipv4
  • e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview
  • e2e-metal-ipi-ovn-bgp-virt-dualstack

Test plan

  • Verify the affected periodic jobs install CNV 4.22 (nightly-4.22 channel, nightly-catalog:4.22 image)
  • Confirm CNV operator reaches Succeeded phase during job execution

🤖 Generated with Claude Code

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.

@mkowalski mkowalski deleted the fix-cnv-version-ovn-bgp-4.22 branch April 22, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants