Felix Sonntag
08/04/2022, 11:23 AMupdate_flow_run
in engine.py
.
I’m running a flow via the docker-container infrastructure type. It seems to start, but there’s no output on the UI, in fact the flow run status stays in “Pending” state, even after it fails on the work queue.
I also see some TF log outputs which appear when importing TF, but the actual log output of my script is not showing up.
Are there any hints on how to solve this?Anna Geller
08/04/2022, 11:57 AMdev
):
prefect deployment build yourflow.py:yourflow --name dev --tag dev -sb s3/dev --infra docker-container --output yourflow.yaml
this will generate a YAML manifest
2) Then, build your image:
docker build -t yourimage .
As a result, it will generate a sha that you can pass to your deployment manifest as shown in the screenshot
Then, all is left is to apply the deployment and run it:
prefect deployment apply yourflow.yaml
Felix Sonntag
08/05/2022, 3:57 AMDocker container … has status 'running'
for a long time, without logs on the Docker container or the queue 😕 Prefect seems to do stuff, but I can’t tell what.Anna Geller
08/05/2022, 11:15 AMFelix Sonntag
08/06/2022, 9:55 AMAnna Geller
08/06/2022, 11:50 AMFelix Sonntag
08/06/2022, 2:07 PMhost.docker.internal
, i.e. connections time out. So no issue with prefect Thanks a lot though 🙂Anna Geller
08/06/2022, 4:57 PM