Hello community,
Does anyone know how to remove an old agent in Prefect UI 1.0?
No luck so far in the UI nor graphql.
Seems like the old agent has been acting out and interrupting with the active agent as no flows are submitted.
m
Marwan Sarieddine
06/27/2023, 10:34 PM
We ran into a similar where what was happening is the request to delete the agent was timing out
We resolved this by temporarily disabling the schedules on all of the flows based on a suggestion from a member of the prefect team i.e remove all future scheduled flow runs first and then attempt the agent delete, this way the query can run within the allotted timeout period
b
Beizhen
06/28/2023, 7:30 AM
Thanks @Marwan Sarieddine for your suggestion, we have too many flows running in production that stopping the schedule is almost unfeasible. After looking at this issue, I wrote a ticket to prefect support and ask them to remove it as it is not urgent. https://github.com/PrefectHQ/prefect/issues/5216
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.