-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitnami/postgresql] password authentication failed for a user/pwd specified using values: "auth.username" and "auth.password" #15975
Comments
Hi! Thanks for opening the ticket. Could you change the title to something more descriptive? |
The problem I raised here hs been discussed part of this blog post here: https://medium.com/@hijessicahsu/deploy-postgres-on-minikube-5cd8f9ffc9c. It is related to the fact that if a postgres instance has been created before, data still persist within the PVC and are not cleaned. If I delete the PVC, then I can access the DB with the user/password defined
|
Hi, Yes, the issue is that PVC from StatefulSets don't get removed by default. Therfore letfovers from previous installations should be removed. |
This is why I propose 2 changes within the documentation here: https://github.com/bitnami/charts/tree/main/bitnami/postgresql#uninstalling-the-chart
"The command removes all the Kubernetes components but PVC's associated with the chart and deletes the release." -->
I propose to also add a note within the section to uninstall the helm chart and tell to the user that it is mandatory to delete the PVC when they will re-install the chart using a different database name, user and password ! |
Hi, Thanks for the input! Would you like to submit a PR updating the README? |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Lifesaver, I was tearing my hair out over this :-D |
So are you supposed to just delete the pvc and try to login again, im not getting it, i have had this error over and over and over again, not just on Kuberenetes with this specific helm chart but with docker as well. I have pruned my docker system, deleted entire namespaces and done fresh installs with fresh passwords, and still getting the error? |
Name and Version
bitnami/postgresql 11.9.13
What architecture are you using?
amd64
What steps will reproduce the bug?
As the password encoded corresponds to what it has been passed as value to the helm chart using
auth.password
, there is certainly an issue with the init step as we cannot access the dbfruits_database
using the userhealthy
and passwordhealthy
Are you using any custom parameters or values?
What is the expected behavior?
I should be able to auth the user using the password defined as parameter
What do you see instead?
psql: error: connection to server at "postgresql" (10.96.93.222), port 5432 failed: FATAL: password authentication failed for user "healthy"
Additional information
No response
The text was updated successfully, but these errors were encountered: