Open AMcManigal opened 4 years ago
Seems like this has something to do with the StdOut/StdErr of the runscope lib. After my pr (https://github.com/terraform-providers/terraform-provider-runscope/pull/30) I don't have it anymore.
While upgrading our Terraform config to v0.12
, we're also repeatedly experiencing endlessly hanged runs of terraform plan
. On Terraform v0.11.13
, it's working fine. We have about ~125 Runscope resources, without any for_each
constructs.
With TF_LOG
set to debug
, I'm getting some output during the hang, but it's truncated (I've redacted our resource names):
g for "runscope_test.<redacted_1>"
r "runscope_test.<redacted_1>"
"runscope_test.<redacted_1>"
r "runscope_test.<redacted_1>"
cope_step.<redacted_2>" is waiting for "runscope_test.<redacted_1>"
est"
or "runscope_test.<redacted_1>"
runscope_test.<redacted_1>"
vertex "runscope_step.<redacted_3>" is waiting for "runscope_test.<redacted_1>"
cope_test.<redacted_1>"
for "runscope_test.<redacted_1>"
CE] dag/walk: vertex "runscope_step.<redacted_4>" is waiting for "runscope_test.<redacted_1>"
Same issue after upgrading to v0.12, any work around for this?
Similar output as @tomwassenberg, stuck on waiting for resources.
I “solved” this by recompiling the plug-in and the ewilde/go-runscope library. Maybe that also works for you..
Any progress on this? similar output as @tomwassenberg and @bjaworski3 apply just stay indefinitely on 'Still creating' after migrating to TF v.12.29 and v.6.0.0 for the plugin. Looks like if there are many steps it just hang.
This problem still seems to persist. Is this repository no longer being upgraded with bug fixes?
cc @ewilde
FYI, recompiling as mentioned in https://github.com/terraform-providers/terraform-provider-runscope/issues/31#issuecomment-573289599 seems to have resolved the issue for us when we upgraded to TF 0.12 and it appeared to happen on any large number of runscope resources.
When you try to create anything with a for_each construct with on object with a lot of properties (I think around 20)the provider will hang endlessly. It works for short iterations. For example:
Output: