https://prefect.io logo
Title
r

Raviraj Dixit

03/13/2023, 4:31 AM
Hi everyone, I was trying to use Kubernetes Job infrastructure block for flow so that I can add the s3fs and other dependent packages, but getting this error in prefect-agent, when trying to run flow. can someone help me with this?
kubernetes.client.exceptions.ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Audit-Id': 'a78a7ce9-1b45-439f-824f-b5470e93dea2', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'Date': 'Sat, 11 Mar 2023 18:22:02 GMT', 'Content-Length': '179'})
HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"strconv.ParseInt: parsing \\"59.911360159516335\\": invalid syntax","reason":"BadRequest","code":400}\n'
r

redsquare

03/13/2023, 6:38 AM
if you pin s3fs to 2023.1.0, they had a regression in a later release that causes this to fail
r

Raviraj Dixit

03/13/2023, 6:43 AM
thanks, I will give it a try with the latest version.