ROSAENG-67845 | fix: warn when --availability-zones is ignored with --subnet-ids #3591
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 252 lines diff across 3 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.331
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3591"
general
weight: 0.35
michaelryanmcneill
Summary
When both
--subnet-idsand--availability-zonesare provided onrosa create cluster, ROSA derives availability zones from the subnets and ignores the explicit AZ values for placement. The previous nonfatalE:message was easy to miss. This PR replaces it with a clearWARNso users understand--availability-zonesdoes not select zones when using BYO VPC.Jira
Type of Change
Testing
WARN:text when both flags are setBreaking Changes
<!-- Does this PR introduce breaking changes? If yes, describe impact and migration -->
Checklist
OCM-XXXXX | type: descriptionmake install-hookshas been run[ROSAENG-67845]: https://redhat.atlassian.net/browse/ROSAENG-67845?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Bug Fixes
Cluster creation no longer rejects commands that combine subnet IDs with availability zones. For clusters using an existing VPC or supplied subnets, a warning clarifies that ROSA determines the zones from those resources; the availability-zones option does not select them. Availability-zone selection and validation remain available for clusters that do not use an existing VPC.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->