[Resolved] How do I remove default labels from an ...
# prefect-server
j
[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
Based on this PR, updated agent to also run 0.14.1, and the default labels went away. https://github.com/PrefectHQ/prefect/pull/3802/files
z
Glad you got it! Is this all resolved now?
j
Resolved for me...still a gotcha for anyone running agent 0.13.19 with server 0.14.1.
z
Version mismatches across breaking changes will always be a struggle
Perhaps there’s somewhere we can clarify in the docs / changelog though
j
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
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.
1