Skip to content

Commit 559cf78

Browse files
Add UnfulfillableCapacity and InsufficientCapacity in the list of EC2 error codes used for fast fail-over
According to https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html UnfulfillableCapacity: At this time there isn't enough spare capacity to fulfill your request for Spot Instances. You can wait a few minutes to see whether capacity becomes available for your request. Alternatively, create a more flexible request. For example, include additional instance types, include additional Availability Zones, or use the capacity-optimized allocation strategy. InsufficientCapacity: There is not enough capacity to fulfill your import instance request. You can wait for additional capacity to become available.
1 parent ff7b36d commit 559cf78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/slurm_plugin/slurm_resources.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ class SlurmNode(metaclass=ABCMeta):
223223
"MaxSpotInstanceCountExceeded",
224224
"Unsupported",
225225
"SpotMaxPriceTooLow",
226+
"UnfulfillableCapacity",
227+
"InsufficientCapacity",
226228
}
227229

228230
def __init__(

0 commit comments

Comments
 (0)