https://prefect.io
Join Slack
Hi! I want to debug a flow-of-flows on my local machine, but the flow runs created using create_flow...
j

Jonathan Mathews

over 3 years ago
Hi! I want to debug a flow-of-flows on my local machine, but the flow runs created using create_flow_run seem to be executing on my production Prefect Cloud environment. How do I ensure that these flow runs are all executed on my local machine?
j
k
c
  • 3
  • 6
  • 189
<@ULVA73B9P> how can i use prefect with django?
m

massumo

over 1 year ago
@Marvin how can i use prefect with django?
m
m
  • 2
  • 2
  • 188
<@ULVA73B9P> my self hosted server is running out of space, how can i remove everything that is olde...
n

Nikhil Joseph

almost 2 years ago
@Marvin my self hosted server is running out of space, how can i remove everything that is older than a week
n
m
  • 2
  • 3
  • 188
I'm seeing a lot of warnings about CancellationCleanup loop service taking a long time in my prefect...
z

Zachary Lee

over 2 years ago
I'm seeing a lot of warnings about CancellationCleanup loop service taking a long time in my prefect server logs:
20:03:50.981 | WARNING | prefect.server.services.cancellationcleanup - CancellationCleanup took 30.438319 seconds to run, which is longer than its loop interval of 20.0 seconds.
20:04:24.279 | WARNING | prefect.server.services.cancellationcleanup - CancellationCleanup took 33.296899 seconds to run, which is longer than its loop interval of 20.0 seconds.
I've already deleted all the
Cancelled
runs in the hopes of fixing this, but it seems to have no effect. Also, my server's CPU usage is very high, and I'm wondering if it's potentially related to this. Does anyone know what makes CancellationCleanup take so long?
z
  • 1
  • 1
  • 187
Hi all, I’m having trouble diagnosing a GitHub storage problem. I’ve created a trivial testing flow...
m

Mars

over 3 years ago
Hi all, I’m having trouble diagnosing a GitHub storage problem. I’ve created a trivial testing flow similar to the example script-based workflow for GitHub. I’ve deployed a k8s agent using
prefect k8s agent install
. I’ve uploaded my flow to a private GitHub repo and registered it with Prefect. And I’ve added a Cloud Secret called
GITHUB_ACCESS_TOKEN
that holds a valid GitHub personal access token. When I run my flow the agent’s GitHub storage gives me an
UnknownObjectException(404, 'Not Found')
error. If I change the flow to use a different Cloud Secret key for the PAT, such as
access_token_secret='MYKEY'
, then the agent tells me
ValueError('Local Secret "MYKEY" was not found.')
. How can I introspect the kubernetes agent to verify that the GitHub PAT secret is being loaded from Prefect Cloud correctly?
m
k
  • 2
  • 62
  • 185
<@ULVA73B9P> How to trigger a flow instantly via REST api in Prefect 3
v

Vikas Reddy

11 months ago
@Marvin How to trigger a flow instantly via REST api in Prefect 3
v
m
  • 2
  • 3
  • 184
Hey Folks :wave: Lately, some of my flow runs have a "Run Count" of 2 (instead of 1). When looking ...
j

Jean-Michel Provencher

over 2 years ago
Hey Folks 👋 Lately, some of my flow runs have a "Run Count" of 2 (instead of 1). When looking at the "Results" tab I see that both runs were started pretty much at the same time. We're using k8s infra. What could be the conditions of a single flow run being started more than once? Having a flow launched twice can be quite problematic, especially when they have the same id.
j
z
t
  • 3
  • 10
  • 184
<@ULVA73B9P> what are recommended specs for runing a local prefect server, with4-5 workpools wach wi...
k

Kevin Mach

about 1 year ago
@Marvin what are recommended specs for runing a local prefect server, with4-5 workpools wach with 2 workers
k
m
  • 2
  • 1
  • 182
Hi! Is it possible to increase max scheduled flows in prefect? I found “max_scheduled_runs_per_flow”...
a

Andrey Vinogradov

over 3 years ago
Hi! Is it possible to increase max scheduled flows in prefect? I found “max_scheduled_runs_per_flow” parameter but it seems that is is only available in prefect server not prefect.
a
a
k
  • 3
  • 14
  • 182
Hi all - I have a really annoying problem that is starting to bite me hard. I have a `flow` that se...
t

Tim Galvin

almost 2 years ago
Hi all - I have a really annoying problem that is starting to bite me hard. I have a
flow
that seems to be running fine, except tasks that read a
Complete()
state are, for whatever reason, being restarted. Sometimes hours after they were successfully completed. As far as I can tell, there are no errors in my files. I am seeing the correct set of end data products from tasks that are completed after the task that is restarted needlessly. Is there something I should be looking into for this? I am a little unsure where to even begin.
t
t
  • 2
  • 16
  • 181
Previous282930Next

Prefect Community

Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.

Powered by