Netconnect fix#2830
Conversation
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
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: Enterprise 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)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
|
Hello @asood-rh! Some important instructions when contributing to openshift/api: |
Review Summary by QodoAdd NetworkConnect feature gate and support ovn-kubernetes enhancement URLs
WalkthroughsDescription• Add NetworkConnect feature gate with DevPreviewNoUpgrade enablement • Allow ovn-kubernetes repository URLs in enhancement PR validation • Update feature gate manifests across all deployment profiles • Reorganize imports for code style consistency Diagramflowchart LR
A["NetworkConnect Feature Gate"] --> B["Feature Definition"]
A --> C["Validation Logic"]
B --> D["Feature Gate Manifests"]
C --> E["Support ovn-kubernetes URLs"]
D --> F["Default/DevPreview/TechPreview Profiles"]
File Changes1. features/features.go
|
Code Review by Qodo
1. EnhancementPR validation weakened
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
4.21? the network connect feature doesn't exist on 4.21.... |
| FeatureGateNetworkConnect = newFeatureGate("NetworkConnect"). | ||
| reportProblemsToJiraComponent("Networking/ovn-kubernetes"). | ||
| contactPerson("tssurya"). | ||
| productScope(ocpSpecific). |
There was a problem hiding this comment.
Wouldn't this be an upstream rather than ocpspecific?
There was a problem hiding this comment.
@JoelSpeed Please ignore this PR. Just created to get past install issues. Will close it.
| case !strings.HasPrefix(b.enhancementPRURL, "https://github.com/openshift/enhancements/pull/") && | ||
| !strings.HasPrefix(b.enhancementPRURL, "https://github.com/kubernetes/enhancements/issues/") && | ||
| !strings.HasPrefix(b.enhancementPRURL, "https://github.com/ovn-kubernetes/ovn-kubernetes/pull/"): |
There was a problem hiding this comment.
There's no downstream enablement for this feature?
build registry.ci.openshift.org/ocp/release-5:5.0.0-0.nightly-2026-05-04-015246, openshift/ovn-kubernetes#3169, openshift/cluster-network-operator#2960, #2830 The 5.0 and 4.21 naming is the same release stream — 5.0 is the external/marketing version, 4.21 is the internal engineering version. They were renamed partway through the development cycle. |
Enhancement: https://github.com/openshift/enhancements/blob/85cfa504e4882a3e1c744d97697aae27b91c47bd/enhancements/network/ovn-kubernetes-evpn.md Signed-off-by: Patryk Diak <pdiak@redhat.com>
Cherry-pick of 221095e from master (PR openshift#2537). Adds NoOverlayMode feature gate, CRD manifests, and API types for OVN-Kubernetes no-overlay transport mode with BGP routing support. Resolved conflicts: - Removed OKD featuregate files (deleted on release-4.21) - Merged features.md (6-column format) - Merged openapi/generated_openapi with NoOverlayMode additions - Merged featuregated-crd-manifests and Hypershift payload manifests - Undid OKD CRD rename (no OKD on release-4.21)
The cherry-pick from master used enable(inDevPreviewNoUpgrade(), inTechPreviewNoUpgrade()) which is the master API. On release-4.21, the featureGateBuilder uses enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade) instead. This caused a build failure: features/features.go:219:5: enable undefined features/features.go:219:12: undefined: inDevPreviewNoUpgrade features/features.go:219:37: undefined: inTechPreviewNoUpgrade
|
@asood-rh: The following test failed, say
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. |
Temporary PR to get a successful build to deploy a cluster with no-overlay mode.