Fina Silva-Santisteban
02/05/2021, 11:42 PMDeploying flow run...
but the flow gets stuck in the Submitted
stage. What am I missing?Chris White
Fina Silva-Santisteban
02/09/2021, 12:36 AMSubmitted for execution: Container ID: 92c(...)
But when I check my local containers by running docker ps
it doesn’t show anything! (It does show containers as expected when I run things with the prefect server instead of prefect cloud)
I’m currently using prefect 0.14.5
. The agent doesn’t seem to have a -verbose
flag(?) What am I missing?Chris White
prefect agent start --verbose
should be a documented / exposed CLI flag — would you mind opening a GitHub issue with the details so we can investigate further?Fina Silva-Santisteban
02/09/2021, 5:12 PMprefect agent docker start
. That command doesn’t have a verbose flag. However prefect agent start --verbose
does exist, but that agent throws an error if I try to use it with my setup, and that error makes sense: Error while deploying flow: TypeError('Unsupported Storage type: Docker')
. Should I open a github issue to request the verbose flag for the docker agent? Besides that, the problem still seems to be that the container doesn’t exist, even though I get provided with a container ID. What are the best next steps?--show-flow-logs
! And that is finally giving me an error message (vs silently failing):
raise ClientError(
prefect.utilities.exceptions.ClientError: Malformed response received from Cloud - please ensure that you have an API token properly configured.
I’ll take a closer look at my token setup and let you know how that goes!PREFECT__CLOUD__AGENT__AUTH_TOKEN
the same value as PREFECT__CLOUD__AUTH_TOKEN
! Fixed that and now everything is running wonderfully! Thanks so much for your help @Chris White! Finding the logs was really the key to solving this!Chris White
Marvin
02/09/2021, 6:46 PM