https://prefect.io logo
Title
a

anurag ambuja

01/05/2023, 10:50 AM
I am quite new to Prefect and I tried running prefect using cloudrun but the job is not getting triggered at cloudrun. Deployment is working fine. But flow runs are getting into "Late" state with no logs. Not able to debug due to no logs. Do I need to start the agent in the container ? Any suggestions ?
1
Runs ss:
m

Miguel Moncada

01/05/2023, 3:21 PM
Are you using this setup? do you have an agent up and running elsewhere and the work queue is in
healthy
state?
🚀 1
:gratitude-thank-you: 1
m

Miguel Moncada

01/05/2023, 3:50 PM
The
prefect-cloud-gcp
is a great resource that has different setup steps already packed into GitHub actions/workflows, so it's easy to start with. However, I believe the steps from the guide you're following should also work well 🤔 Do you have an agent deployed elsewhere and listening to the queue where your deployment has been done?
a

anurag ambuja

01/05/2023, 3:56 PM
No Miguel. i was under the impression that once i run the flow manually, CloudRun will create a container, run the flow and will exit. I suppose that is how it should work since cloudrun is serverless an we are not creating any service.
👍 1
@Miguel Moncada Thanks for connecting. It was great talking to you and debugging the issue. :thank-you:
❤️ 2