quaint-diamond-37493
02/23/2023, 12:21 PMContainerTasks
with pyflyte register -p myproj -d devel flyte/my_workflow.py
so far and it worked fine.
Now I added one Python task, but that one fails with
Pod failed. No message received from kubernetes.
[a9lcdpfc5ldtrh9tlqf8-fl6pvdgq-0] terminated with exit code (1). Reason [Error]. Message:
Traceback (most recent call last):
File "/usr/local/bin/pyflyte-fast-execute", line 8, in <module>
sys.exit(fast_execute_task_cmd())
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/flytekit/bin/entrypoint.py", line 496, in fast_execute_task_cmd
_download_distribution(additional_distribution, dest_dir)
File "/usr/local/lib/python3.8/site-packages/flytekit/tools/fast_registration.py", line 107, in download_distribution
raise ValueError("Destination path is required to download distribution and it should be a directory")
ValueError: Destination path is required to download distribution and it should be a directory
.
I don't get what is wrong here... I can see that the file is in the package..quaint-diamond-37493
02/23/2023, 2:11 PM