[arvados] created: 2.5.0-212-g3d633505b
git repository hosting
git at public.arvados.org
Thu Mar 2 19:49:19 UTC 2023
at 3d633505b83c3cda54e274120f026b42a87e7f8a (commit)
commit 3d633505b83c3cda54e274120f026b42a87e7f8a
Author: Tom Clegg <tom at curii.com>
Date: Thu Mar 2 14:48:49 2023 -0500
20188: Recognize InsufficientFreeAddressesInSubnet as quota error.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/cloud/ec2/ec2.go b/lib/cloud/ec2/ec2.go
index b90eff6d5..aa190a055 100644
--- a/lib/cloud/ec2/ec2.go
+++ b/lib/cloud/ec2/ec2.go
@@ -541,9 +541,10 @@ func (err rateLimitError) EarliestRetry() time.Time {
}
var isCodeCapacity = map[string]bool{
- "InsufficientInstanceCapacity": true,
- "VcpuLimitExceeded": true,
- "MaxSpotInstanceCountExceeded": true,
+ "InsufficientInstanceCapacity": true,
+ "VcpuLimitExceeded": true,
+ "MaxSpotInstanceCountExceeded": true,
+ "InsufficientFreeAddressesInSubnet": true,
}
// isErrorCapacity returns whether the error is to be throttled based on its code.
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list