-
Notifications
You must be signed in to change notification settings - Fork 24
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
Endless loop on terraform destroy with nodepool in state "FAILED_DESTROYING" #582
Comments
Hello! Can you provide the Terraform plan that led to this situation? I want to reproduce this scenario. Our Terraform provider only sends the What I think it happened in this scenario (I still need to reproduce this to be sure):
Related to the description from Expected behavior:
As I said above, the provider only sends The provider did the job, the |
What is the timeout?
Mhh, that is passing the buck to and from each other. I think the provider needs to handle API failures appropriately. For the plan and logs please refer to Internal support ticket Ticket 207171709 |
3 hours, I will also leave a reference to that.
It really isn't, besides interrupting the loop when the resource reaches a The |
I disagree - the provider can (and should) indeed send multiple DELETE requests because:
|
@salyh I agree with the points presented above but still, sending multiple I will discuss with my colleagues from the API about this and if indeed multiple |
terraform will throw an error on reaching any of these states, as they are not recoverable. |
Description
I provisioned nodepools via terraform. After the nodepool is active I want to destroy them via terraform destroy.
Then terraform runs for more than 30 minutes trying to destroy the nodepool. Looking into the DCD UI i see that the status is "FAILED_DESTROYING" (see screenshot).
When I now cancel the terraform run via STRG-C and rerun it the nodepool get really destroyed in a matter of a few seconds.
Expected behavior
Properly destroy nodepools in state "FAILED_DESTROYING" without the need of a terraform destroy re-run
Environment
Terraform version:
Provider version:
OS:
References
#579
The text was updated successfully, but these errors were encountered: