Leonardus Chen
06/12/2022, 1:15 PMLocalDaskExecutor(scheduler="processes")
, logs from prefect.context.get("logger")
don't make it to Prefect server, but using LocalDaskExecutor(scheduler="threads")
works just fine. Am I missing something?
I've opened an issue https://github.com/PrefectHQ/prefect/issues/5895 - but just thought I'd check if anyone has dealt with the same problem hereJen Evenson
06/16/2022, 6:51 PMunlock_hosts
to wait for the entire with case(did_deletes_fail, True):
block (starts on line 16) to finish. But since I can't name that case
task, I can't set that state dependency.
If we get to the update_state()
task, we need to immediately fail the flow and NOT run any other task, especially unlock_hosts()
and daemon_start().
I thought maybe I should use a switch
instead, but my "b branch" is "do nothing".
What conditional logic and dependencies should I be using here? Thanks!Lana Dann
06/16/2022, 7:51 PMFalse
. Code in threadLukasz Pakula
06/21/2022, 9:39 AMFile "/usr/local/lib/python3.9/site-packages/prefect/client/secrets.py", line 148, in get
result = self.client.graphql(
File "/usr/local/lib/python3.9/site-packages/prefect/client/client.py", line 473, in graphql
raise ClientError(result["errors"])
prefect.exceptions.ClientError: [{'path': ['secret_value'], 'message': 'An unknown error occurred.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
Server is randomly returning 500 error. It's working 9/10 times, however, i would expect this to work 10/10 so we don't need to restart flows manually.
Has anybody experienced the same problem?Devin Flake
06/22/2022, 9:47 PMSubmitted for execution
state. I found these docs and tried debugging/restarting services with them but no luck:
<https://docs.prefect.io/orchestration/faq/debug.html#my-flow-is-stuck-in-a-submitted-state>
<https://discourse.prefect.io/t/why-is-my-flow-stuck-in-a-submitted-state/201>
I also added these flags to the kubernetes prefect agent: --log-level DEBUG --disable-job-deletion
That gave me more detail but still no indication of what the problem is. Any help would be appreciated, thanks!Michelle Brochmann
06/23/2022, 7:57 PM--expose
and --ui-port <UNRESTRICTED_PORT>
. So now I can see the UI framework but it isn’t pulling actual data and things remain looking like in the attached screenshot.
What do I need to know about how data is pulled from the other containers in order to troubleshoot this? I tried setting other ports to numbers in the unrestricted range but those caused various problems (server startup not completing, or commands like prefect create project
hanging).
In order to troubleshoot these two issues, what information could help me? How does the UI get data from other containers (and which ones), and what could be preventing the communication?
BTW Prefect server seems to work just fine, I can run flows successfully.jaehoon
06/27/2022, 12:30 PMAmogh Kulkarni
06/28/2022, 6:02 PMprefect config set PREFECT_API_URL=http://<orion-dev-server>:4200/api
2. I then wrote the code of the flow and deployment spec on my local machine.
Code of the deployment spec:
DeploymentSpec(
flow_location="<flow location>",
flow_name="flow_one",
name="deployment-one",
flow_runner=KubernetesFlowRunner(
image="<image is on AWS ECR>",
namespace="<kubernetes namespace>",
image_pull_policy="Always"
)
)
I then run the deployment by prefect deployment create <deployment python file>
This runs fine. The file gets copied to S3 storage and I can see the deployment and flow on the orion server.Lucien Fregosi
06/29/2022, 8:11 AMTomás Emilio Silva Ebensperger
06/29/2022, 7:40 PMprefect.exceptions.AuthorizationError: Malformed response received from Cloud - please ensure that you are authenticated. See `prefect auth login --help
It also says it is a json error , after inspecting, the response gotten from the requests library is a huge html and not a json.
My current config.toml file has worked for previous registrations in other projects.
Does this sound familiar?Muhammad Usman Ghani
06/30/2022, 4:21 PMMichał Augoff
06/30/2022, 10:22 PMprefect kubernetes manifest orion
and I’m facing some issues with the UI which seems to not be able to connect to the database (it’s empty). It’s a similar issue to this one but on k8s, not locally. The agent container communicates with the server container (API) just fine and is able to pick up flows. I’m also able to connect to the API via prefect CLI on my local machine, create work queues, deployments, trigger flows etc (which are then picked up by the k8s agent). But UI is empty and I’m not able to see/create e.g. worker queues. Any idea what I might be missing?Raviraj Dixit
07/01/2022, 6:42 AMfor i in range(0, len(list_dict_data)):
TypeError: object of type 'FunctionTask' has no len()
Can someone tell me how can I get return data from the FunctionTask
object?Tomás Emilio Silva Ebensperger
07/01/2022, 4:00 PMAxel Guinot
07/01/2022, 5:07 PMVipul
07/02/2022, 5:02 PMash
07/05/2022, 4:45 PMTomás Emilio Silva Ebensperger
07/06/2022, 8:48 PM"Orion requires sqlite >= 3.24.0 but we found version 3.7.17"
Does anyone know a workaround? iSlackbot
07/07/2022, 7:16 AMElliot Oram
07/07/2022, 8:25 AM1.2.2
to 1.2.3
Installation appears to work as expected but I get the following when I run prefect server start --postgres-port 5433
Has anyone else encountered this or did I miss some migration notes somewhere?Abin Joseph
07/08/2022, 7:34 AMperformance_report_path
argument in DaskExecutor
it fails with the following error:
Unexpected error: ValueError('No global client found and no address provided')
Benson Mwangi
07/08/2022, 9:32 PMArchitha Rao
07/11/2022, 6:05 AMAbin Joseph
07/11/2022, 11:30 AMOctopus
07/13/2022, 8:54 AMdocker port tmp_ui_1 8080/tcp
I get
127.0.0.1:8080
but I would like to change it to
0.0.0.0:8080
:::8080
Eric So
07/14/2022, 7:57 AMVaibhav Shetye
07/14/2022, 8:46 AMChristian Nuss
07/14/2022, 5:50 PMBernardo Galvao
07/15/2022, 9:03 AMSergey Dashko
07/15/2022, 1:09 PMS3List
task to get list of bucket specifying full path?
Whenever I try to provide full path there is an error about bucket not matching some Regex.
It works only when I provide plain name of the root bucket like this test-bucket
but I need content of the directory inside that bucket.
How this can be done?