I recently upgraded one of my workers to Prefect 3...
# ask-community
c
I recently upgraded one of my workers to Prefect 3.0.1 from 2.14.* and I am now getting Crashed state on flows that fail due to things such as missing imports or missing infrastructure code file. Before these errors would be clearly logged to the Prefect UI and would be easy to troubleshoot, but now all these types of errors result in the following:
Copy code
18:29:26.304 | ERROR   | prefect.flow_runs.worker - Process 37072 exited with status code: 1
18:29:26.604 | INFO    | prefect.flow_runs.worker - Reported flow run '6496a48d-9309-4d9d-ab65-b393f7f9586d' as crashed: Flow run infrastructure exited with non-zero status code 1.
Note: On 2.14.*, these would actually log the actual error and not the obscure error above. i.e. 'Unable to import module "pandas"' I went into the worker logs, and I see that the actual error does get logged in the worker right before the infrastructure exit error code above, but those logs never make it to the UI.
a
Hey @Carlos Cueto! That’s a big version jump that you’re making 🙌 Could you open an issue for this in GitHub? I think that will be a relatively quick fix, but I want to have a clear MRE to ensure we’re fixing the right thing.
c
sure thing. Will do. Thank you
Sorry for the delayed response @alex, finally got around to opening the issue: https://github.com/PrefectHQ/prefect/issues/15444
gratitude thank you 1
j
Is there any update on this?
Experiencing the same issue - very frustrating
c
I haven’t had any reply or activity on the issue I opened.
α
Getting the same issue in the simplest of flows.