gcp-crio: retry instance creation across all zones in the region - #83977
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughBuild host provisioning now shuffles regional zones, retries instance creation across zones, records the successful zone, and fails when no zone succeeds. ChangesBuild host provisioning
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change adds zone fallback during instance creation, and no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. Full details: Stable And Deterministic Test NamesExplanation PASS: The pull request changes only one Full details: Test Structure And QualityExplanation PASS: The pull request changes only one shell script, Full details: Microshift Test CompatibilityExplanation PASS: The pull request changes only the GCP CRI-O build-host shell script. The exact diff adds no Ginkgo e2e tests or test declarations such as It, Describe, Context, or When. Therefore, the MicroShift test compatibility check is not applicable. Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS — The pull request changes only the GCP CRI-O build-host provisioning shell script. The committed diff adds zone selection and instance-creation retries; it adds no Ginkgo tests or other e2e test constructs. The SNO compatibility check is therefore not applicable. Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The pull request changes only a GCP CRI-O build-host provisioning shell script. The diff adds randomized GCP zone selection and instance-creation retries. It does not add or modify deployment manifests, operators, controllers, pod scheduling constraints, replicas, affinity, tolerations, or PDBs. The topology-aware scheduling check is therefore not applicable. Full details: Ote Binary Stdout ContractExplanation PASS: The pull request changes only the Bash GCP provisioning step. The step metadata runs it as a pre-provisioning CI workflow step, not as an OTE binary. The added Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS: The pull request changes one provisioning shell script only. The exact diff adds no Ginkgo e2e tests and no Full details: No-Weak-CryptoExplanation The pull request changes only zone enumeration and GCP instance-creation retry logic. The exact diff adds Full details: Container-PrivilegesExplanation PASS: The commit changes only the GCP provisioning shell script. The diff adds zone shuffling and instance-creation retries. It adds no Full details: No-Sensitive-Data-In-LogsExplanation The change adds logs for GCP zone names and the existing region value. These values are not passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data. The instance creation command still uses the existing server, network, subnet, and public SSH key values; its xtrace exposure is pre-existing. No new sensitive-data logging condition is introduced. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@bitoku: |
|
/pj-rehearse |
|
@bitoku: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse auto-ack |
|
@bitoku: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/retest |
|
/test pull-ci-openshift-release-main-step-registry-metadata |
|
/pj-rehearse auto-ack |
|
@bitoku: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/test step-registry-metadata |
|
/pj-rehearse pull-ci-cri-o-cri-o-main-ci-crun-e2e pull-ci-cri-o-cri-o-main-ci-cgroupv2-e2e-crun pull-ci-cri-o-cri-o-main-ci-cgroupv2-e2e-features |
|
@bitoku: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
The provisioning step always picked the first zone (zones[0]) from the region. When that zone was out of capacity (ZONE_RESOURCE_POOL_EXHAUSTED), the job failed with no fallback. Iterate over all zones in randomized order and try each until instance creation succeeds. Assisted-by: Claude Code <https://claude.com/claude-code>
65c29b5 to
fe05514
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
@bitoku: |
|
/pj-rehearse auto-ack |
|
@bitoku: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse ack |
|
@bitoku: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bitoku, haircommander The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
9758cb4
into
openshift:main
|
@bitoku: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The provisioning step always picked the first zone (zones[0]) from the region. When that zone was out of capacity (ZONE_RESOURCE_POOL_EXHAUSTED), the job failed with no fallback. Iterate over all zones in randomized order and try each until instance creation succeeds.
Assisted-by: Claude Code https://claude.com/claude-code
Summary by CodeRabbit
Updates GCP CRI-O build host provisioning for OpenShift CI infrastructure. The script randomizes all zones in the selected region and retries instance creation in each zone. It records the successful zone for subsequent operations and fails only after all zones fail, including failures such as
ZONE_RESOURCE_POOL_EXHAUSTED.