Allow destroy to proceed when EC2 GPU instances cannot start - #9879
Open
rhjcd wants to merge 1 commit into
Open
Conversation
GPU instance types (g6.12xlarge, g6.16xlarge) frequently hit InsufficientInstanceCapacity during destroy, blocking cleanup of all resources. Instances do not need to be running for AWS to terminate them -- adding ignore_errors lets the destroy continue. Addresses 84 destroy failures and $8,183/mo in leaked cloud costs for openshift-ai-v3 alone.
Contributor
Author
Tower job evidence
All 3 jobs are on AAP2 controller
Note: the |
agonzalezrh
requested changes
Jul 22, 2026
agonzalezrh
left a comment
Collaborator
There was a problem hiding this comment.
This should be handle different, this is start not only for destroy but for stopped labs too
contact @rut31337 to find a better solution
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.
Summary
ignore_errors: trueto the EC2 instance start and wait tasks inocp4-cluster/ec2_instances_start.yamlInsufficientInstanceCapacityduring destroy, blocking cleanup of all downstream resources (VPCs, security groups, EBS volumes)Impact
Test plan