Matheus Moreno03/11/2022, 6:43 PM
, but the system won't find it: if I try to run it, I'm met with the error
. I ran
AttributeError: module 'src.flyte.tasks' has no attribute 'test_google_cloud'
again, serialized the tasks again, registered them again, and still nothing. The task is registered, since I can see it on the UI, but the worker can't find it. What is happening?
Ketan (kumare3)03/11/2022, 6:54 PM
pyflyte package --in-container-source-path /…
directory the function should be loadable
Matheus Moreno03/11/2022, 7:13 PM
option and the error persists. Before, it was just a
error coming from trying to copy the file to
. Now, this appears:
The root of the source code is
flytekit.exceptions.user.FlyteAssertion: Failed to get data from <s3://my-s3-bucket/fast/v3-fastb17df494435c35acc740957bbca00389.tar.gz> to /home/flyte/app (recursive=False). Original exception: Called process exited with error code: 1. Stderr dump: b'fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden\n'
is right. It deleted the sandbox and started from scratch, and now the task can be executed. It seems that the problem happens when I create new tasks after the first build/serialization
George Snelling03/24/2022, 6:51 PM
Matheus Moreno03/25/2022, 3:19 PM
argument when copying the directory to the container (
on the Dockerfile, for a non-root user
COPY --chown=flyte:flyte src/ /home/flyte/src
) • Passing the
when (fast) registering the tasks (
in my case)