[Resolved] How do I remove default labels from an agent?
There are several labels on the agent that I'm running, and I'm not sure how they got set. There are no labels set in ~/.prefect/config.toml for the user running the agent. I also don't see any environment variables set in the script that starts the agent. Where else would I look?
The flow I'm registering has no labels, so the labels on the agent filter out the flow and it does not get run.
The agent is running prefect 0.13.19
The self-hosted server is running 0.14.1
Resolved for me...still a gotcha for anyone running agent 0.13.19 with server 0.14.1.
z
Zanie
01/21/2021, 7:58 PM
Version mismatches across breaking changes will always be a struggle
Perhaps there’s somewhere we can clarify in the docs / changelog though
j
jack
01/21/2021, 8:01 PM
Agreed---docs would be helpful on this. Not sure if there's anything in the docs yet. I remember searching this slack archive to find out that the server is supposed to be ahead of the agent/client.
z
Zanie
01/21/2021, 8:22 PM
Ideally they should match versions all the time — with patch versions it’s less of a big deal but with minor versions we do introduce breaking changes.