Hi Prefect people, I get an occasional error where...
# ask-community
a
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
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
Thanks Dylan, I'll definitely do that this morning. Thanks for your help!
a
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?
a
Hi, sorry you're right I should have back posted a link here; https://github.com/PrefectHQ/server/issues/175
d
Thanks Aiden!
a
Thanks Aiden, helps to know the workaround