network, udn: fix VM pair anti-affinity for multiple migrations #6221
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
azhivovk
##### 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 with0/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_udnandvmb_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 -->