CherryPicked: [cnv-4.21] net,bgp: exclude external FRR from BGP router nodes#3644
Conversation
Sometimes connectivity between UDN VM and external provider network does not work. The current setup connects external FRR pod to the cluster nodes network via localnet, and the basic condition is already complied: external FRR pod and UDN VM are living on different cluster nodes to avoid connectivity issue. However, it is not enough: the node where external FRR pod resides should be also excluded from BGP routing. **Rationale**: the external FRR pod receives BGP advertisements from all cluster nodes, including the node it is currently hosted on. If the local node is used as a BGP nexthop, ECMP may select it, causing traffic to hairpin via br-ex instead of exiting via eno1. This breaks return traffic. Removing the local node from routing guarantees consistent egress via remote cluster nodes. #### jira-ticket: https://issues.redhat.com/browse/CNV-76552 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Improved BGP test setup to exclude the node running the external FRR component, yielding more accurate node selection during convergence checks. * Removed expected-failure markers and related imports from BGP tests, reflecting increased test reliability and fewer intentional xfail cases. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Sergei Volkov <sevolkov@redhat.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (4)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ 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 |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features:
🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
Exception jira ticket: https://issues.redhat.com/browse/CNV-78334 (I can't add it to the PR description because this is auto-generated PR). |
|
/verified See original PR. |
Test execution plan request detailsCRITICAL: You MUST post an inline review comment on the first changed line of the first file. As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan. Analysis Requirements:
Your deliverable: Test Execution Plan
Guidelines:
CRITICAL WORKFLOW COMPLETION RULES: When responding to this test execution plan request, you MUST follow these rules EXACTLY:
ABSOLUTE PROHIBITIONS (violating these creates empty/meaningless reviews):
Remember: The pull request review is visible to users. Additional comments are redundant noise. CRITICAL: Before setting "Run smoke tests: True", you MUST use shell scripts to: |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 2122 🏁 Script executed: Length of output: 1178 🏁 Script executed: Length of output: 278 🏁 Script executed: Length of output: 272 🏁 Script executed: Length of output: 1191 🏁 Script executed: Length of output: 1735 🧠 Learnings used |
|
/approve |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:cnv-4.21 published |
…r nodes (RedHatQE#3644) cherry-pick RedHatQE#3584 into cnv-4.21 requested-by servolkov Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Co-authored-by: Sergei Volkov <153028767+servolkov@users.noreply.github.com> Signed-off-by: Adam Cinko <acinko@redhat.com>
cherry-pick #3584 into cnv-4.21
requested-by servolkov