https://prefect.io logo
Title
h

Henning Holgersen

03/09/2023, 9:06 AM
Hi! Lately, we have had issues with a “flow file not found” error when running flows. This happens even when we simply rebuild an image that has worked previously. I see some other mentions of similar issues here. We use Azure storage for our flows. Has there been any recent changes in Prefect that might be relevant here? Our images are built from the
python:3.9
image, and we have tried to keep them lightweight by just pip-installing prefect. This has worked nicely enough with Kubernetes, although it has never worked when using Azure ACI. I added a post on discourse, about building more sturdy but still lightweight images. I imagine this is our underlying issue, and some recipes might be valuable for others as well. https://discourse.prefect.io/t/minimal-prefect-dockerfile-from-a-base-image/2502
m

Muxin Fang

03/09/2023, 10:23 AM
I also got the same problem. From version 2.8.2 to 2.8.4 on python 3.8 all have this problem.
h

Henning Holgersen

03/09/2023, 11:33 AM
Good to hear, in a way. I’ll have to double-check what versions we are running. We have found a temporary workaround by changing base images, but hopefully we can find a long-term fix.
h

Haotian Li

03/09/2023, 2:27 PM
Seems like adding "/" at the end of the path solves this problem.
h

Henning Holgersen

03/09/2023, 2:30 PM
@Haotian Li you mean when uploading a deployment?
h

Haotian Li

03/09/2023, 2:31 PM
Yes, when deploying and specifying the path make sure the string ends with "/"
z

Zanie

03/09/2023, 3:37 PM
Hi! There’s an issue for this at https://github.com/PrefectHQ/prefect/issues/8710
It looks like a breaking change in an upstream library