Repository navigation
Cherry-pick #755: Split launch batches rejected for exceeding the network interfaces allowed per RunInstances request - #760
Open
github-actions[bot] wants to merge 1 commit into
Conversation
…lowed per RunInstances request EC2 RunInstances rejects a request when the total number of network interfaces per instance exceeds 5000. With the default launch_max_batch_size of 500, every instance type with more than 10 network interfaces exceeds it. For example, PC configures 17 interfaces on p6-b300.48xlarge. CreateFleet is not affected, because EC2 Fleet splits its own launches internally. When a batch of more than 50 nodes fails with AttachmentLimitExceeded, retry it and the remaining batches of the compute resource at half the size. Tests: * Unit tests with RunInstances mocked to enforce the per-request limit: 600 nodes with 17 network interfaces launch as 500 (rejected), 250, 250, 100 for both best-effort and all-or-nothing, and a single instance over the limit fails all 500 nodes in 20 calls. * Reproduced the failure on PC 3.16.2 (c6g.16xlarge, 15 interfaces through RunInstances overrides, 500 static nodes).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated cherry-pick of #755 to
develop.Included PRs:
release-3.16)