https://prefect.io logo
Title
j

Jehan Abduljabbar

10/19/2022, 5:22 PM
(prefect 2.0, deployment on cloud) I am running into a situation where all tasks are completed successfully but the flow is still running, what could be causing this?
k

Kalise Richmond

10/19/2022, 5:31 PM
Hi Jehan, normally a flow should be in a finished state after all the tasks are completed. What is your execution environment?
j

Jehan Abduljabbar

10/19/2022, 5:34 PM
Hi, Azure Container Instance
k

Kalise Richmond

10/19/2022, 5:42 PM
Are you able to see if the container is still there in Azure for the flow run or has it spun down? Are you able to check the agent logs?
j

Jehan Abduljabbar

10/19/2022, 5:46 PM
Container still running (as it should for our use case) logs:
k

Kalise Richmond

10/19/2022, 7:16 PM
Are you able to check the agent logs and see if the flow is still executing or cleaning up any resources?