← Back to Pull requests

network, udn: fix VM pair anti-affinity for multiple migrations #6221

Closed
unknown closed this pull request without merging on Sep 08, 2026 17:17 UTC
View on GitHub
unknown unknown commented on Sep 06, 2026 18:48 UTC
Author

##### What this PR does / why we need it:
Both UDN connectivity VMs used the same pod anti-affinity label, so migration target pods could not schedule on a 3-worker cluster once Succeeded virt-launchers carried that label on every node (CNV-72782).

After several migrations in TestPrimaryUdn, Running and Succeeded virt-launcher pods with that label occupied all three workers, so the migration target pod stayed Pending with
0/3 nodes didn't match pod anti-affinity rules.

##### Which issue(s) this PR fixes:
Use client/server role labels with peer pod anti-affinity on vma_udn and vmb_udn - VMs still land on different nodes, but a migrating VM's own old launchers no longer block its target pod.

##### Special notes for reviewer: -

##### jira-ticket: https://redhat.atlassian.net/browse/CNV-72782
<!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged
If the task is not tracked by a Jira ticket, just write "NONE".
-->

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

Tests
Restored live migration connectivity coverage for primary user-defined networks by enabling the test to run normally.
* Improved test setup to use distinct client and server pod anti-affinity labels, supporting more accurate network validation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 184 lines (+138 / -46) across 2 files Reviewer: azhivovk Review duration: 2788m
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.59) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 184 lines diff across 2 files
0.59
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
57%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.312
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #6221"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 58.0% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 58.9% (MEDIUM) · Higher = larger blast radius
58.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 58.0% · Lower = rushed or shallow review
58.0%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 24.7% · Safe to merge
24.7%