Closed krasoffski closed 1 year ago
Hey @krasoffski the agent is asking for "CANCELLING" flow runs which is a new state type that the server does not know about and does not support. We do not recommend running clients at a newer version than the server.
See https://docs.prefect.io/contributing/versioning/#client-compatibility-with-prefect for more details.
We should have bumped the internal "API" version when the change was made, but we're not using that in a meaningful way right now.
Hi @madkinsz , thank you for reply.
I also checked source code and also figured out this.
Generally speaking we don't use different version for agent and server for obvious reasons. But accidentally didn't freeze exact prefect version in requirements but only release version and as a result after redeploy got this behavior.
The only probably peace of advice to hide API version from output as it doesn't behave as expected and might confuse someone else.
This issue is stale because it has been open 30 days with no activity. To keep this issue open remove stale label or comment.
This issue was closed because it has been stale for 14 days with no activity. If this issue is important or you have more to add feel free to re-open it.
First check
Bug summary
Occasionally prefect2 agent fails to start on step:
Reproduction
It is fully server intercommunication, no interaction from user side.
Error
Server complains on request performed by prefect agent.
Versions
Server version
Agent version
Additional context
Despite the fact, that
API version
is the same for server and agent, the underlying layers are incompatible.