-
Notifications
You must be signed in to change notification settings - Fork 156
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
Service disappeared while waiting for it to reach a steady state #179
Comments
The only difference in how we behave vs. |
Possibly an eventual consistency issue where the service was created but the API didn't return it? Note that we'll also need pulumi/pulumi#992 to be able to recover from this sort of failure without leaking resources. We need to be able to record that the Create did actually partially create the resource, even through it "failed". |
The logs are a bit easier to read at the Travis job page: https://travis-ci.com/pulumi/pulumi-service/jobs/115796809 |
Unfortunately there is evidence upstream that ECS can return "not found" for newly-created resources: hashicorp/terraform-provider-aws@7551f92 |
Sounds like we need the same logic in https://github.com/terraform-providers/terraform-provider-aws/pull/3485/files? BTW - should we add support for |
This change didn't add any use of I think Terraform responds better to this than we do because they |
I'm not sure that's the TF semantics for Partial. I believe that if you do not enable "Partial" mode, then if there is a failure, no state will be written back - because they cannot be sure whether it is safe to do so. My understanding (though documentation is sparse and implementations are inconsistent), is that you must set "Partial" in order for any state to be written back when there is a failure. Would love to learn that I'm wrong though.
That helps only if you've written the "ID" back into the state even on failures to create. Otherwise you still leak the fact that you created the resource. |
Strongly agree that To confirm, I looked at If However, |
I think we can read some intent here. |
We saw an intermittent failure when updating PPCs just now:
The full log is available at https://api.travis-ci.com/v3/job/115796809/log.txt?log.token=DGdrKxgiMyHZ73itqw0oyw.
It seems likely this is related to the changes pertaining to pulumi/pulumi-cloud#312.
The text was updated successfully, but these errors were encountered: