OSAC-6331: enforce installation-owned Netris connection settings #1694
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 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.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1694"
general
weight: 0.35
tzvatot
OSAC-6331: enforce installation-owned Netris connection settings
Jira: OSAC-6331
Summary
Enforce installation-owned Netris controller URL, certificate validation mode,
and CA path across AAP launch paths. Protected launch inputs are rejected before
they can reach Netris operations or AAP job and workflow requests.
Changes
extra_varsbefore AAP requests.Testing
make helm-validatepassed, including Helm lint, networking values, trust/auth, MCE, dev-full, BMaaS/VMaaS, Keycloak, and hub RBAC checks.osac-devstack/Chart.lockis synchronized; no tracked lock-file change was required after the rebase.Live validation
Validated on blade
10.6.76.209from the clean PR worktree at exact HEAD0096af206224f3e2f859dd2cc92013ab068fb596.quay.io/etabak/osac-aap@sha256:a2b969b3147b7dc832c530ad44c0afe7af7691837ca4e6bb20d4868b70af6cc5quay.io/etabak/osac-operator:0096af206224f3e2f859dd2cc92013ab068fb596@sha256:68303c5e38e07737699bb93d323fa09982c999a38fc351735bc3c6e5ed89127bcodex/OSAC-6331-protected-netris-launch-settingsat0096af206224f3e2f859dd2cc92013ab068fb596Verify return code: 0 (ok).| Case | Configuration and flow | Result | Evidence |
|---|---|---|---|
| 1 | HTTPS,
validateCerts=false, no CA | Passed subnet operation | AAP job 3159 || 2 | HTTP,
validateCerts=false| Passed DHCP operation | AAP job 3179 || 3 | HTTP,
validateCerts=true| Passed; HTTP has no TLS certificate to validate | AAP job 3211 || 4 | HTTPS,
validateCerts=true, no CA | Passed negative test; expected self-signed certificate failure | AAP job 3229 || 5 | HTTPS,
validateCerts=true, trusted CA with SAN mismatch | Passed negative test; expected IP/SAN verification failure | AAP job 3246 || 6 | HTTPS,
validateCerts=false, DHCP/IPAM | Passed | AAP job 3264 || 7 | HTTPS,
validateCerts=false, full BMaaS/BareMetalHost flow | Passed; fresh BMI reachedReadyafter the automatic DHCP retry | Provision 3265, network handoff 3266, expected initial DHCP miss 3267, automatic retry 3268 || 8 | HTTPS,
validateCerts=true, matching CA/SAN, DHCP/IPAM | Passed | AAP job 3287 || 9 | HTTPS,
validateCerts=true, matching CA/SAN, network attachment | Passed | AAP job 3288 |The HTTP-only rows used Helm's test-only
--skip-schema-validationflag becausethe production values schema intentionally accepts HTTPS controller URLs only.
The chart templates, Helm upgrade, AAP bootstrap, managed instance-group
configuration, and live AAP jobs were still exercised end to end. AAP was not
patched directly.
The fresh full BMaaS flow completed provisioning, network attachment, network
handoff, automatic DHCP retry, IP discovery, and readiness successfully.
After validation, Helm revision 23 restored the HTTPS baseline with
validateCerts=false, an empty CA ConfigMap reference, and the same immutableimage pins. Temporary Netris TLSStore, Secret, and CA ConfigMap resources were
removed, the original Traefik certificate was restored, and all namespace pods
were healthy.
FabricDomain RBAC was present in the deployed environment and was not a blocker
for this validation.
Acceptance Criteria
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary
ExtraVarsbefore it sends AAP requests. The Ansible collection validates the original Runnerextra_varsbefore the linear strategy starts. Both paths use the protected-input policy to detect nested keys and case or separator variants.netris.controller.protected_uri. The action plugin checks the request URL, certificate-validation setting, and CA path against installation-managed values before it callsansible.builtin.uri.configandsecretmaps. The installer removes duplicate Netris connection settings from default and example values.Compatibility
AAP launches that include protected Netris settings in
extra_varsnow fail before execution. Helm rendering now fails when managed instance-groupconfigorsecretmaps contain protected settings. Configure those settings throughglobal.networking.netrisand reconcile with Helm. The deployment now emits Netris CA environment entries even when the configured value is empty.Verification
Local unit, integration, rendering, lint, Helm, CRD, and contract checks passed. Live validation on blade
10.6.76.209covered all nine HTTP/HTTPS scenarios from exact HEAD0096af206224f3e2f859dd2cc92013ab068fb596. The full BMaaS/BareMetalHost flow reachedReadyafter the expected automatic DHCP retry.Risk classification
risk:ask - The existing summary selected this label because the change enforces a security boundary across AAP launch paths and deployment configuration, and rejects inputs that were previously accepted. The formal labeling criteria were not supplied, so the label and its criteria cannot be independently verified. Whether the change was close to another classification also cannot be determined without those criteria.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->