Fina Silva-Santisteban
06/23/2021, 11:27 PMpip
and python 2.7
error? (pls see screenshots) The dockerfile I’m using for the docker storage (flow.storage = Docker(dockerfile="Dockerfile", …)
looks like this
FROM python:3.9
WORKDIR /app
COPY . .
ENV PYTHONPATH=$PYTHONPATH:`pwd`
FROM <http://gcr.io/google-appengine/python|gcr.io/google-appengine/python>
RUN apt-get update
RUN apt-get install poppler-utils -y
I’ve set the python version to 3.9 in the dockerfile, why doesn’t it use that?Ben Muller
06/24/2021, 5:01 AMprefect.context.get("logger")
to log throught our entire project ? eg. when sub modules are called by calling their classes in that flow?Varuna Bamunusinghe
06/24/2021, 5:36 AMJoël Luijmes
06/24/2021, 7:26 AMash
06/24/2021, 9:29 AMBen Muller
06/24/2021, 9:44 AMTim Enders
06/24/2021, 12:23 PMBruno Murino
06/24/2021, 12:43 PMMatthias Roels
06/24/2021, 1:02 PMLuis Henrique
06/24/2021, 2:13 PMMark McDonald
06/24/2021, 3:32 PMNike Gurin-Petrovych
06/24/2021, 3:37 PMprefect register --project nike_dev --path flows/test.py
, it's sucessfuly registered, I can see it in my dashboard.
I also have an agent running in the container
[2021-06-24 15:27:12,585] INFO - agent | Starting LocalAgent with labels ['93d6256207bd']
[2021-06-24 15:27:12,586] INFO - agent | Agent documentation can be found at <https://docs.prefect.io/orchestration/>
[2021-06-24 15:27:12,586] INFO - agent | Agent connecting to the Prefect API at <https://api.prefect.io>
[2021-06-24 15:27:13,124] INFO - agent | Waiting for flow runs...
In the dashboard I manually scheduled the flow to run immediately but the agent doesn't pick it up https://d.pr/i/j55IrO.
How can I debug it further? What can be wrong?Justin Liu
06/24/2021, 4:33 PMGabriel Montañola
06/24/2021, 9:27 PMPrefect Cloud
team. I want to upgrade my Legacy account but I need to add the CTO as admin because he owns the credit card. Long story short:
I demoted my user (I know, it's dumb 😖*) and I have no way of inviting the CTO so he can pay for the upgrade.*
If someone can help me with this, please reach me via DM!
Thanks :)Mark McDonald
06/24/2021, 9:53 PMMarko Herkaliuk
06/25/2021, 8:04 AMash
06/25/2021, 9:15 AMAnton Rasmussen
06/25/2021, 12:45 PMMark McDonald
06/25/2021, 2:40 PMNike Gurin-Petrovych
06/25/2021, 3:11 PMprefect register --project "my project" --path /api/flows/
registers only flows that are in api/flows
but not in api/flows/subfolder
Josselin Girault
06/25/2021, 3:12 PMGitlabGetError 404: Project Not Found
errors when fetching flows. Turns out python-gitlab
broke something from 2.7.0 onwards. I assume it's not an issue for prefect to solve but maybe it can help someone.Anton Rasmussen
06/25/2021, 3:35 PMthebuleon29
06/25/2021, 4:33 PMMark McDonald
06/25/2021, 5:59 PMNike Gurin-Petrovych
06/25/2021, 7:17 PMmatta
06/25/2021, 9:26 PMmatta
06/25/2021, 10:26 PMYou have no currently running Agents configured to pick up flow runs without labels
How do I set a Local Agent to pick up flow runs without labels? And/or see what labels my agents are looking for? I don't see where my Agent's labels are.matta
06/26/2021, 1:41 AMStartFlowRun
task, with the storage for both being in git
. The underlying flow works, but the new flow fails with GitProtocolError('Repository not found.')
CA Lee
06/26/2021, 10:19 AMprefect register
from the CLI?
Storage: S3
Execution: ECS
Prefect version: 0.14.22
vscode ➜ /workspaces/flowstate/flows (main ✗) $ prefect register --project prefect_project_name -p project_path
Collecting flows...
Processing 'project_path/flow_one.py':
Building `S3` storage...
[2021-06-26 10:10:44+0000] INFO - prefect.S3 | Uploading script /workspaces/github_project/flows/prefect_project_name/flow_one.py to flow_one/2021-06-26t10-10-44-047892-00-00 in aws-ecs-flows
Registering 'flow_one'... Done
└── ID: 41b7ea82-6cee-47c9-871c-0155267e6373
└── Version: 1
Processing 'project_path/flow_two.py':
Building `S3` storage...
[2021-06-26 10:10:45+0000] INFO - prefect.S3 | Uploading script /workspaces/github_project/flows/prefect_project_name/flow_one.py to flow_one/2021-06-26t10-10-44-047892-00-00 in aws-ecs-flows
-------------------------------------------------------------------------------------------------------------------- * SAME FILE * -------------------------------------------------------------
[2021-06-26 10:10:45+0000] INFO - prefect.S3 | Uploading script /workspaces/github_project/flows/prefect_project_name/flow_one.py to flow_two/2021-06-26t10-10-45-180059-00-00 in aws-ecs-flows
Registering 'flow_two'... Done
└── ID: f03469a7-c463-486f-a032-53d0fd4f265c
└── Version: 1
======================== 2 registered ========================
This results in an error when attempting to execute `flow_two`:
Failed to load and execute Flow's environment: ValueError("Flow 'flow_two' not found in file. Found flows:\n- 'flow_one'")
Ben Muller
06/26/2021, 10:42 AMBen Muller
06/26/2021, 10:42 AMECSRun
object for launchType: "EC2"
I run into an error on the agent launching the job
botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) when calling the RunTask operation: Assign public IP is not supported for this launch type.
Kevin Kho
06/27/2021, 4:47 AMrequiresCompatibilities
look like here ?Ben Muller
06/27/2021, 5:01 AMKevin Kho
06/27/2021, 6:00 AMBen Muller
06/27/2021, 6:01 AMKathryn Klarich
07/02/2021, 3:51 PMKevin Kho
07/02/2021, 3:52 PM