Repository navigation
Conversation
When us-east1-b has no GPU resources available, the VM creation returns CanRetry=true with STOCKOUT in the message. Treat this as a skip rather than a failure so transient GCP capacity issues don't block the pipeline.
|
No actionable comments were generated in the recent review. WalkthroughThe accelerator integration test now handles the Suggested reviewers: Merge Risk:
|
aramprice
left a comment
There was a problem hiding this comment.
Is there a way to "dry run" the API call so that we can verify that the API call made by the CPI works in some way that doesn't run into the STOCKOUT issue.
When
us-east1-bhas no GPU resources,create_vmwith an accelerator returnsCanRetry: truewithSTOCKOUTin the message. This is a transient GCP capacity issue, not a CPI bug, but it was failing the integration test and blocking the pipeline.Change: detect the STOCKOUT response in the accelerator test and call
Skip()instead of failing. Any other error (wrong type, bad credentials, real CPI regression) still fails the test normally.It's not a perfect fix, but considering the current GPU situation, this is the best we can do IMO.