net, stability: Ignore transient IPv6 link-local in VMI interface status lookup #6766
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 395 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.358
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #6766"
general
weight: 0.35
azhivovk
##### What this PR does / why we need it:
The guest agent can briefly report an interface's IPv6 link-local address as its primary IP before the routable (DHCP assigned) address is propagated to the VMI status. Tests that read that primary IP to drive connectivity then latch onto an unusable address and flake.
This tightens the default interface-status lookup so it keeps sampling until a routable address is reported, instead of accepting a transient link-local one. Global IPv6 addresses are still accepted, so dual-stack scenarios are unaffected.
##### Which issue(s) this PR fixes:
Race condition seen in test_basic_connectivity_between_udn_vms in the v4.18 lane (test-pytest-cnv-4.18-network-ovn-dualstack/173), which can affect us in any version.
##### Special notes for reviewer:
##### jira-ticket:
NONE
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Network interface reporting now excludes interfaces without a guest-agent source or IP address. Invalid IP values and IPv6 link-local addresses are also excluded, so reported interfaces reflect usable IP addresses.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->