Jamie Miller
02/01/2022, 6:37 PMDavid Mannion
02/01/2022, 9:36 PMSylvain Hazard
02/02/2022, 10:15 AMdelete_flow_run
but is there a way to delete multiple flow runs at once ?
Thanks !frojo
02/02/2022, 12:11 PM{
"config_overrides": {},
"env_vars": [],
"system_information": {
"platform": "Linux-5.4.0-96-generic-x86_64-with-glibc2.27",
"prefect_backend": "server",
"prefect_version": "0.15.13",
"python_version": "3.8.12"
}
}
I was setting the local server as option and started as usual:
prefect backend server
prefect server start
No special options. Images are pulled and all the services started. However some errors (regarding graphql mainly) start to apper on logs.
graphql_1 | Error applying Hasura metadata from /prefect-server/services/hasura/migrations/metadata.yaml
graphql_1 |
graphql_1 | Could not upgrade the database!
graphql_1 | Error: Failed to apply Hasura metadata! Error: 503 Server Error: Service Unavailable for url: <http://hasura:3000/v1/query>
apollo_1 | Checking GraphQL service at <http://graphql:4201/health> ...
tmp_graphql_1 exited with code 1
(I have the full trace until stopping them).
I also checked (while waiting the spin up - just displaying the failing one)
> docker ps
7036b92f538d prefecthq/server:core-0.15.13 "tini -g -- bash -c âŚ" About a minute ago Restarting (1) 1 second ago tmp_graphql_
which is continously restarting.
I have tryied:
⢠previuos Prefect version (0.15.0) with the same effect.
⢠the same env on my local machine with success (so I suspect from the remote configuration, but I could not figure what is missing)
Thanks!Max Watermolen
02/02/2022, 6:41 PMFailed to load and execute Flow's environment: ModuleNotFoundError("No module named '/home/magnox/'")
Env:
⢠Local Agent + Local Storage (Running in docker [python:3.10] ... yeah yeah lol)
⢠External Postgres 12
⢠Prefect Server in Kubernetes (Official HELM)
⢠Django Integrated
Code: The Source is located in /code/
We have added /code
to the path and Python path on execution.
Notes:
⢠Sometimes a single container will work fine (using the same exact image and everything)(Cant seem to figure out why)
⢠I have tried with and without Dask
⢠I tried to symlink the /code -> /home/magnox to no availWilliam Clark
02/02/2022, 6:58 PMNIKHIL KARADIGUDDA
02/03/2022, 1:32 PMNIKHIL KARADIGUDDA
02/03/2022, 1:32 PMNIKHIL KARADIGUDDA
02/03/2022, 1:32 PMNIKHIL KARADIGUDDA
02/03/2022, 1:32 PMNIKHIL KARADIGUDDA
02/03/2022, 1:32 PMCristian Toma
02/03/2022, 2:47 PMManuel Ledesma
02/03/2022, 11:14 PMEric Mauser
02/04/2022, 12:23 AMStĂŠphan Taljaard
02/04/2022, 6:16 AMChristopher
02/04/2022, 7:26 AMMatthew Webster
02/04/2022, 4:59 PMHagai Arad
02/05/2022, 9:57 PMjack
02/08/2022, 2:48 PMprefect agent local start --token [some-token] --api <https://api.prefect.io>
But after generating an api KEY (not a token) and running a similar incantation:
prefect agent local start --token [THE-NEW-KEY] --api <https://api.prefect.io>
it complains with
prefect.utilities.exceptions.ClientError: [{'path': ['register_agent'], 'message': 'Unauthorized: permission error.', 'extensions': {'code': 'FORBIDDEN'}}]
Santiago Gonzalez
02/08/2022, 9:45 PMAndrew Stewart
02/09/2022, 3:05 PMVladislav Bogucharov
02/09/2022, 5:48 PMFrancois van Heerden
02/09/2022, 8:09 PMArtifacts
api? Iâm currently using the server backed and a local agent.StĂŠphan Taljaard
02/10/2022, 4:55 AMSam Werbalowsky
02/10/2022, 2:24 PMkubernetes
. This morning, no prefect job pods are spinning up - has anyone encountered this?Tara
02/11/2022, 6:42 AMStĂŠphan Taljaard
02/11/2022, 3:18 PMprefect.context.get("logger").warning()
Surely if the default logging level is info
, it will hide debug
, but should still log and show warning
, error
, and critical
?StĂŠphan Taljaard
02/14/2022, 11:35 AMInteractive API
tab on the Server page.
I then moved it to my flow. When running the flow, I'm getting ReadTimeoutError: HTTPConnectionPool(host='localhost', port=4200): Read timed out. (read timeout=15)
It's strange to me, because I'm using default port/other settings, and expect it to work since the Interactive API
gives a result almost immediatelyAlexis Lucido
02/14/2022, 1:37 PMHenrietta Salonen
02/14/2022, 2:32 PMwith Flow("test") as flow:
s3.S3Upload.run(data, credentials="AWS_CREDENTIALS", bucket='bucket_name', compression='gzip')
flow.run()
Data is json string.
I keep on getting this error AttributeError: 'str' object has no attribute 'bucket'