Hi! One of the scheduled ECS Push flow run stuck i...
# prefect-cloud
i
Hi! One of the scheduled ECS Push flow run stuck in the Pending state for a while. Is there any best-practice solution to restart the stucked flow? Here is the ECS Push json definition: https://gist.github.com/gulivan/aaed95590eb3afd39a0bc0b7339350c5 I also tried to create an automation (2-3) to but not sure that trigger the "infer deployment" will restart the stuck flow run.
w
that automation should in fact work - curious though, is there anything of note in your ECS logs?
i
@Will Raphaelson Thank you! It will be kinda hard to find the traces (because other flow runs were executed successfully) but if I'll experience this again — will be happy to share the details!
👍 1
w
great!
a
Hi @Ivan, Did you find the root cause of this problem? We are having the same problem
i
@Arnaud hi! Nope, sometimes it still happens so I've set an automation to fix this. Not a target solution as I want, but it works
a
@Ivan Cancel it if it stays more than .... minutes in pending state ? Have you find a way to restart it instead?
i
@Arnaud I guess that's basically a restart with the same deployment input parameters which works fine in my case. But it cancels the old flow run and spawns another one.
a
@Ivan How did you manage to restart it with automation ?
i
Run a deployment Infer deployment (to copy run params)