Sören Brunk
my-flyteadmin
. I also changed the name in values.yaml accordingly:userSettings:
dbHost: xx.xx.xx.xx
dbPassword: secret
datacatalog:
database:
port: 5432
username: "my-flyteadmin"
host: "{{ .Values.userSettings.dbHost }}"
dbname: "my-flyteadmin"
passwordPath: /etc/db/pass.txt
admin:
database:
port: 5432
username: "my-flyteadmin"
host: "{{ .Values.userSettings.dbHost }}"
dbname: "my-flyteadmin"
passwordPath: /etc/db/pass.txt
After installing flyte, flyteadmin
fails to connect to the db:run-migrations [error] failed to initialize database, got error failed to connect to `host=xx.xx.xx.xx user=my-flyteadmin database=my-flyteadmin`: server error (FATAL: password authentication failed for user "my-flyteadmin" (SQLSTATE 28P01))
At the same time, datacatalog
with the same settings works fine.
Any idea what could cause such a behavior? ~In another installation where db and username is still the default flyteadmin
this setup works fine.~Yuvraj
Sören Brunk
datacatalog
can connect as well. I wonder why flyteadmin
behaves differently here.Yuvraj
Sören Brunk
Prafulla Mahindrakar
Sören Brunk
Prafulla Mahindrakar
Sören Brunk
Prafulla Mahindrakar
kubectl get pods -n flyte
NAME READY STATUS RESTARTS AGE
datacatalog-58cdbb6989-lw5mb 1/1 Running 0 4m13s
flyte-contour-contour-7df75dc949-lnfvg 1/1 Running 0 4m13s
flyte-contour-envoy-7bg2h 2/2 Running 0 4m13s
flyte-kubernetes-dashboard-7cb76cfdb5-799gl 1/1 Running 0 4m13s
flyte-pod-webhook-cc799b94-h87r9 1/1 Running 0 4m13s
flyte-spark-operator-6577758bff-khzdt 1/1 Running 0 4m13s
flyteadmin-59f5d5c5f8-bzsl4 2/2 Running 0 4m13s
flyteconsole-6c46567545-2lp9x 1/1 Running 0 4m13s
flytepropeller-86c9444478-sx9pg 1/1 Running 0 4m13s
flytescheduler-595d6dc786-n56jg 1/1 Running 0 4m13s
minio-68744577b6-wspfj 1/1 Running 0 4m13s
postgres-84c58d5c66-knzpz 1/1 Running 0 4m13s
Can you help me with what steps you are performing to get to this issueSören Brunk
Prafulla Mahindrakar
Sören Brunk
trust
, which essentially means all auth checks are disabled:https://github.com/flyteorg/flyte/blob/44786a8869d1ec9521e3acfd9f7126241cd97652/charts/flyte/templates/postgres/deployment.yaml#L24-L25Yuvraj
Sören Brunk
Prafulla Mahindrakar