https://prefect.io logo
Title
a

Anders Segerberg

05/17/2023, 2:51 PM
Prefect 1.0 self hosted I'm encountering an issue where flows that are registered with a schedule, with
set_schedule_active=False
, won't run on schedule (will always be "Late"); and, when clicking on the "Run now" button on the UI on this flow (in the window of scheduled runs), also won't run. Any ideas?
1
n

nicholas

05/17/2023, 2:58 PM
Hi @Anders Segerberg - do you have a polling agent?
a

Anders Segerberg

05/17/2023, 4:10 PM
We just have a Docker agent. How do I set up a polling agent?
n

nicholas

05/17/2023, 4:23 PM
Sorry for the confusion - does your docker agent have the appropriate labels to pick up you runs? Your agent should have at least all of the labels your run has.
a

Anders Segerberg

05/17/2023, 4:31 PM
ah, alright. so we don't have any labels on the agent -- that would explain it. and i take it there's no such "default" label / null-label that gets picked up?
n

nicholas

05/17/2023, 4:36 PM
That’s correct - you can read a little more about labels and affinity here