Increase GCP network infrastructure timeout to 30 minutes - #10729
Increase GCP network infrastructure timeout to 30 minutes#10729TheCodeSummoner wants to merge 1 commit into
Conversation
…itly set the provision timeout to 15 minutes.
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
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: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughChangesCluster API timeouts
Estimated code review effort: 2 (Simple) | ~5 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Warning |
|
Hi @TheCodeSummoner. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Increasing the timeout does not seem like a fix for this problem, instead we need to fix the backendServices.insert problem in CAPG. If you can post logs with the errors it would be helpful. |
Overview
GCP CAPI network infrastructure provisioning intermittently hangs on backendServices.insert, exhausting the default 15 minute timeout and failing the install with "infrastructure was not ready within 15m0s".
IBM Cloud and PowerVS already override this to 30 minutes for similar reasons; my proposed approach is to do the same for GCP. ProvisionTimeout is set explicitly to the default 15 minutes since only network provisioning is affected.
Testing
TestProviderTimeoutsunit test asserting the returned values.go build,go vet, andgofmtpass on the changed package.Summary by CodeRabbit