Hi all! Has anyone seen this: ```Flow could not be retrieved from deployment. Traceback (most recen...
j
Hi all! Has anyone seen this:
Copy code
Flow could not be retrieved from deployment.
Traceback (most recent call last):
  File "<frozen importlib._bootstrap_external>", line 879, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1016, in get_code
  File "<frozen importlib._bootstrap_external>", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp832ebukxprefect/flow.py'
For context: agent is on a VM, storage is Azure Blob storage - just started happening across all flows.
m
Did you resolve? I had a similar issue just pop up out of nowhere...
j
Nope - and it also just popped up out of nowhere. What is your setup like?
m
S3 storage for the flow files running on AWS ECS. Are you using S3 as well?
I wonder if I pulled a new version of prefect from
FROM prefecthq/prefect:2.10-python3.10
around noon yesterday, changing and underlying dependency which is causing the issues
j
We use Azure Blob Storage to store flow code.
Agent is running on a VM, so prefect didn't get updated
m
I'm wondering if it's a mismatch between my agent version and my task prefect version
d
@Mitch did you manage to get this sorted? I generated a new docker image for my ECS tasks yesterday and started getting this issue so am also suspecting I have a version mismatch
m
I just updated to the mosst recent prefect version (2.10.1 - > 2.10.12) and it worked
d
Great, thanks Mitch, I upgraded and that seemed to do the trick as well.
m
I am having the issue again 🙂
I'm on 2.10.20 and it is causing issues.