max
10/11/2022, 9:27 AMKalise Richmond
10/11/2022, 3:59 PMmax
10/11/2022, 5:25 PMKalise Richmond
10/11/2022, 6:48 PMmax
10/11/2022, 6:51 PMAgents now support multiple work queues. Instead of passing a single argument,
provide work queue names with the `-q` or `--work-queue` flag: `prefect agent
start -q synchronization-work-queue`
Starting v2.5.0 agent connected to <http://prefect-server:4200/api>...
___ ___ ___ ___ ___ ___ _____ _ ___ ___ _ _ _____
| _ \ _ \ __| __| __/ __|_ _| /_\ / __| __| \| |_ _|
| _/ / _|| _|| _| (__ | | / _ \ (_ | _|| .` | | |
|_| |_|_\___|_| |___\___| |_| /_/ \_\___|___|_|\_| |_|
Agent started! Looking for work from queue(s): synchronization-work-queue...
16:52:55.503 | INFO | prefect.agent - Submitting flow run '17eb5c67-5ed9-44b1-a190-8fbb8426bb4b'
16:52:55.644 | INFO | prefect.infrastructure.process - Opening process 'nocturnal-agama'...
16:52:55.664 | INFO | prefect.agent - Completed submission of flow run '17eb5c67-5ed9-44b1-a190-8fbb8426bb4b'
16:52:58.810 | ERROR | Flow run 'nocturnal-agama' - Flow could not be retrieved from deployment.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/prefect/engine.py", line 257, in retrieve_flow_then_begin_flow_run
flow = await load_flow_from_flow_run(flow_run, client=client)
File "/usr/local/lib/python3.7/site-packages/prefect/client/orion.py", line 82, in with_injected_client
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/prefect/deployments.py", line 158, in load_flow_from_flow_run
await storage_block.get_directory(from_path=deployment.path, local_path=".")
File "/usr/local/lib/python3.7/site-packages/prefect/filesystems.py", line 142, in get_directory
shutil.copytree(from_path, local_path)
File "/usr/local/lib/python3.7/shutil.py", line 318, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmph881gjukprefect/D:\\projects\\krok-ai\\services\\prefect_service\\flows\\synchronization'
Kalise Richmond
10/11/2022, 6:57 PMmax
10/11/2022, 7:00 PMJarvis Stubblefield
10/11/2022, 7:47 PMD:\
within a /tmp
directory. Here is the relevant bit from your error showing it is looking in the improper pathing for your flow: '/tmp/tmph881gjukprefect/D:\\projects\\krok-ai\\services\\prefect_service\\flows\\synchronization'
… Don’t know how to fix that, but remote storage might help as indicated by @Kalise Richmond.max
10/12/2022, 10:49 AM