boundless-pizza-95864
02/24/2022, 2:48 PMmy-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? flyteadmin
this setup works fine.boundless-pizza-95864
02/24/2022, 2:54 PMboundless-pizza-95864
02/24/2022, 3:24 PMgreat-school-54368
02/24/2022, 4:11 PMboundless-pizza-95864
02/25/2022, 6:55 AMdatacatalog
can connect as well. I wonder why flyteadmin
behaves differently here.great-school-54368
02/25/2022, 7:13 AMboundless-pizza-95864
02/25/2022, 7:14 AMicy-agent-73298
02/25/2022, 7:38 AMboundless-pizza-95864
02/25/2022, 7:42 AMboundless-pizza-95864
02/25/2022, 7:48 AMicy-agent-73298
02/25/2022, 7:50 AMboundless-pizza-95864
02/25/2022, 7:59 AMicy-agent-73298
02/25/2022, 12:44 PMkubectl 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 issueboundless-pizza-95864
02/25/2022, 12:46 PMicy-agent-73298
02/25/2022, 1:52 PMboundless-pizza-95864
02/25/2022, 2:20 PMtrust
, which essentially means all auth checks are disabled:
https://github.com/flyteorg/flyte/blob/44786a8869d1ec9521e3acfd9f7126241cd97652/charts/flyte/templates/postgres/deployment.yaml#L24-L25great-school-54368
02/25/2022, 3:09 PMboundless-pizza-95864
02/25/2022, 3:28 PMicy-agent-73298
03/02/2022, 5:51 AM