https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
c

Chris Histe

03/08/2023, 8:48 PM
I’m trying to run Dagster locally in k8s. I’m getting
WARNING:root:Retrying failed database connection: (psycopg2.OperationalError) SCRAM authentication requires libpq version 10 or above
in
dagster-run-[...]
pods. Any idea what could be causing this?
All 4 pods are running (dagit, daemon, user deployments and postgres)
d

Daniel Mosesson

03/09/2023, 9:56 AM
do you have psycopg2 (non-binary) or psycopg as a dependency? https://github.com/dagster-io/dagster/issues/11353
c

Chris Histe

03/09/2023, 7:57 PM
Yes I have
psycopg2-binary
as a dependency
There is another person who is experiencing this issue in Docker, maybe this was not patched everywhere?
d

Daniel Mosesson

03/10/2023, 1:29 PM
Its really a psycopg bug, where it doesn't play nice with other versions of itself
c

Chris Histe

03/10/2023, 2:27 PM
I see, do you have any idea how I could fix that? I will ask internally why we need this as a dependency in the meantime because I’m not quite sure
9 Views