Hello! My company is new to using Prefect. I am in the process of setting up an ECS Agent and am able to have the agent successfully deploy my flow runs. However, my flows always show the below error. I’ve found some resources online that suggested to ensure that both the prefect and python version of the flow register and agent are the same and I’ve confirmed that they are. Has anyone ever experienced this before? Thanks in advance.
k
Kevin Kho
11/11/2021, 10:20 PM
Hey @Frank Oplinger, this looks like you registered a Flow without specifying Storage, which then uses the Local storage by default. So when you register with Local storage, it stores the Flow on your machine and keeps the path as the metadata which is what you’re seeing here. You need to store it in a place that can be pulled by the ECS job like S3 Storage or Github Storage. For more info, see this
f
Frank Oplinger
11/11/2021, 10:21 PM
Amazing, thank you so much
k
Kevin Kho
11/11/2021, 10:21 PM
When your Flow executes, it loads the Flow from storage and then runs it
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.