[arvados] created: 2.5.0-261-g4d80b93ac

git repository hosting git at public.arvados.org
Wed Mar 8 14:10:12 UTC 2023


        at  4d80b93ac628a19c1ab590dfc19b7ad58bbce950 (commit)


commit 4d80b93ac628a19c1ab590dfc19b7ad58bbce950
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