Hi Prefect people, I get an occasional error where my Kubernetes agent doesn't deploy a flow run, I'm using the Helm deployed Prefect Server v14.3. I can see this error in the agent's logs;
Copy code
[2021-01-17 00:00:11,063] ERROR - Prefect-Kubed | Error while managing existing k8s jobs
Traceback (most recent call last):
File "/usr/local/.venv/lib/python3.8/site-packages/prefect/agent/kubernetes/agent.py", line 362, in heartbeat
self.manage_jobs()
File "/usr/local/.venv/lib/python3.8/site-packages/prefect/agent/kubernetes/agent.py", line 219, in manage_jobs
event.last_timestamp
TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
d
Dylan
01/18/2021, 7:01 PM
Hi @Aiden Price!
This looks like a bug. Would you mind filing a github issue with as much detail as you can?
We appreciate you taking the time to help us make Prefect even better!
a
Aiden Price
01/18/2021, 11:31 PM
Thanks Dylan, I'll definitely do that this morning. Thanks for your help!
a
Ananthapadmanabhan P
03/09/2021, 5:51 PM
Hi. I’m facing the same error and I’m using the latest server version (as of today). Could you point me to the issue/discussions around this?
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.