Has anybody stood up a docker agent on windows pulling from GCR?
n
nicholas
10/29/2020, 7:15 PM
Hi @George Coyne - that Docker error tells me there might be an authentication issue with the Docker daemon? It's looking like the agent failed at the
deploy_and_update_flow_run
step
nicholas
10/29/2020, 7:17 PM
Could you enable verbose logs on your agent? (
--verbose
flag)
g
George Coyne
10/29/2020, 7:29 PM
Not too much else to add there, the issue is definitely around pulling the flow container.
Copy code
Error while deploying flow: APIError(HTTPError('500 Server Error: Internal Server Error for url: <http+docker://localnpipe/v1.40/images/create?tag=2020-10-27t22-42-21-305568-00-00&fromImage=gcr.io%2FPROJECT_NAME-277818%2Fflows%2Finternal-data%2Faggasetl2'>))
George Coyne
10/29/2020, 7:30 PM
We usually use kubernetes agents but we have a little hybrid/on-prem deployment that is handling a single flow. However the deployment is a bit of a pain.
George Coyne
10/29/2020, 7:40 PM
Environment variable is set with local path for service account file, service account file is encoded correctly and work with gcloud auth. Prefect agent start is mounting the file and setting it in the google_application_credentials environment variable
n
nicholas
10/29/2020, 7:45 PM
Hm, got it @George Coyne - could you try starting the agent with the
-b $DOCKER_HOST
flag? It's possible you have a bad Docker client config on that machine
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.