-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error launching source instance: timeout while waiting for state to become 'success'. last error: %!s(<nil>) #8857
Comments
Hi @kieferrj! This definitely looks like a failure to handle the specific error type. Unfortunately it's also very hard to test for since AWS don't run out of capacity that often or in a deterministic fashion! We'll investigate this since there is clearly a bug given the error message construction. Thanks for opening an issue! |
requesting m3.large in eu-central-1a currently produces this error (and did so in the past). running with TF_LOG=debug, I can see following response from AWS:
|
Ran into this today. It seems that in addition to failing the terraform run, in some cases AWS still provisions the instance. This causes a subsequent call to |
I'm getting this with TF 0.8.8 and 0.9.1. With r4.16xlarge instances, regardless of whether I try launch 1 or 10 the deploy fails with timeout waiting for instance. Is there a workaround for this ? |
Some additional notes:
Definitely seems related to instance deploy time - if there was a reliable tunable in TF for this I'm sure the problem could be resolved. |
Hi folks, Let me know if you have any suggestions on further improvement. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hey guys - this is an easy one. It looks like when theres no more capacity for an instance type in an AZ, and TF tries to make an instance and fails because of it, it fails to pass that message down through TF, and all you get is the subject line instead.
I was able to discover the nature of the error by attempting to replicate what TF was doing manually in the WebUI. The WebUI returned the proper error message: "We currently do not have sufficient (instance_type (m4.large, in my scenario)) capacity in the Availability Zone you requested (AZ). Our system will be working on provisioning additional capacity. You can currently get a (instance_type) by not specifying an Area Zone in your request or choosing (accounts_other_AZs)."
This is in version 0.7.0
The text was updated successfully, but these errors were encountered: