๐ Guard Neutron tagging by extension support #3319
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.35) ร (1 โ Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 ยท Change Risk (XGBoost)
Score: 0.35 ยท 174 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.309
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3319"
general
weight: 0.35
dlanov
What this PR does / why we need it:
Neutron's
standard-attr-tagextension is optional, but CAPO currently attempts to apply user-provided tags to networking resources without first checking whether the extension is available. This causes reconciliation to fail on OpenStack environments that do not support network resource tags.This change checks for
standard-attr-tagbefore applying user-provided tags to:When the extension is unavailable, CAPO skips the unsupported tag operation and continues reconciliation. Errors returned while discovering Neutron extensions are still propagated.
The OpenStackFloatingIPPool bookkeeping tag is intentionally unchanged because it is used internally to rediscover claimed floating IPs and is therefore a functional dependency rather than optional user-provided metadata.
Focused unit coverage verifies supported, unsupported, and extension-discovery error paths, including avoiding redundant extension lookups for ports/trunks and security groups.
Which issue(s) this PR fixes:
Fixes #3306
Special notes for your reviewer:
Validation completed locally:
make lintmake test(525 tests)git diff --checkTODOs:
- [ ] includes documentation
- [x] adds unit tests