https://prefect.io logo
a

Aiden Price

01/18/2021, 7:16 AM
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?
a

Aiden Price

03/09/2021, 9:23 PM
Hi, sorry you're right I should have back posted a link here; https://github.com/PrefectHQ/server/issues/175
d

Dylan

03/09/2021, 9:52 PM
Thanks Aiden!
a

Ananthapadmanabhan P

03/11/2021, 6:04 AM
Thanks Aiden, helps to know the workaround
2 Views