projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765604b
)
20188: Recognize InsufficientFreeAddressesInSubnet as quota error.
20188-insufficient-subnet
author
Tom Clegg <tom@curii.com>
Thu, 2 Mar 2023 19:48:49 +0000
(14:48 -0500)
committer
Tom Clegg <tom@curii.com>
Wed, 8 Mar 2023 14:09:48 +0000
(09:09 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/cloud/ec2/ec2.go
patch
|
blob
|
history
diff --git
a/lib/cloud/ec2/ec2.go
b/lib/cloud/ec2/ec2.go
index b90eff6d571301085c2acd3d9bb8df56d1cfe54c..aa190a055ac57b6a2ca72d5721326665f55470f4 100644
(file)
--- 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.