https://prefect.io logo
Title
h

Hugh Cameron

04/28/2020, 11:33 AM
Hey there - enjoyed the PyData Denver talk - using agents clicked for me! I’ve set up a Docker agent but my flows aren’t executing. Here’s my agent output:
~# prefect diagnostics
{
  "config_overrides": {},
  "env_vars": [
    "PREFECT__SERVER__UI__GRAPHQL_URL"
  ],
  "system_information": {
    "platform": "Linux-3.10.105-x86_64-with-glibc2.2.5",
    "prefect_version": "0.10.4",
    "python_version": "3.8.1"
  }
}
~# prefect agent start docker --network prefect-server --label NAS --label Docker

 ____            __           _        _                    _
|  _ \ _ __ ___ / _| ___  ___| |_     / \   __ _  ___ _ __ | |_
| |_) | '__/ _ \ |_ / _ \/ __| __|   / _ \ / _` |/ _ \ '_ \| __|
|  __/| | |  __/  _|  __/ (__| |_   / ___ \ (_| |  __/ | | | |_
|_|   |_|  \___|_|  \___|\___|\__| /_/   \_\__, |\___|_| |_|\__|
                                           |___/

[2020-04-28 11:29:17,055] INFO - agent | Starting DockerAgent with labels ['NAS', 'Docker']
[2020-04-28 11:29:17,056] INFO - agent | Agent documentation can be found at <https://docs.prefect.io/orchestration/>
[2020-04-28 11:29:17,056] INFO - agent | Agent connecting to the Prefect API at <http://localhost:4200>
[2020-04-28 11:29:17,078] INFO - agent | Waiting for flow runs...
Any tips to troubleshoot?
j

josh

04/28/2020, 12:50 PM
Hey @Hugh Cameron do your flows’ environments have those labels that are present on the agent? NAS and Docker. https://docs.prefect.io/orchestration/execution/overview.html#labels