https://prefect.io logo
Title
a

Andreas Nord

09/13/2022, 8:26 AM
Hi! My flow seems to have finished by still show up as running in Prefect Cloud. This is the last logged message in the agent log (in the execution environment)
08:12:06.349 | INFO    | prefect.infrastructure.docker-container - Docker container 'practical-bear' has status 'exited'
But the log on prefect cloud is stuck on Executing of the last task of the flow.
1
I aborted my agent and the flow still shows up as running, but the the total runtime shows as 0s.
1
r

Rob Freedy

09/13/2022, 2:24 PM
Hey Andreas!! You should be able to cancel the run as shown in the discourse post here without stopping the agent: https://discourse.prefect.io/t/i-have-a-flow-run-that-got-stuck-in-a-running-state-how-can-i-cancel-it-from-the-orion-client/800
a

Andreas Nord

09/13/2022, 2:31 PM
Thanks that's helpful. Need to investigate why the flows don't finish