-
Notifications
You must be signed in to change notification settings - Fork 252
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
error using postgres database #123
Comments
Hi, which playbook did you run? Did you run Any special OS version or other changes? |
Hi |
Hmm, can you post the config from your
But now I suspect Ambari tried to connect to localhost for some reason, so the ident authentication takes over.
|
Hi [root@localhost ~]# grep jdbc.url /etc/ambari-server/conf/ambari.properties otherwise this a an amazing asset |
Yes, I was afraid that's the issue.
I'll have to figure out how to treat this better so I'll mark it as a bug, but you can do several things, like comment that line in your pg_hba.conf, or setting a hostname for your VM, which points to the VM ip rather than the localhost. |
I set hostname and IP@ to this hostname in ./etc/hosts and it works ! |
Hello
testing installation of HDP 3.1 on Virtualbox, I got this error when I configure postgres as database
database: 'postgres' # can be set to 'embedded', 'postgres', 'mysql' or 'mariadb'
error :
TASK [ambari-server : Load the Ambari Server schema (postgres)] **********************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OperationalError: FATAL: Ident authentication failed for user "ambari"
fatal: [master01]: FAILED! => {"changed": false, "msg": "unable to connect to database: FATAL: Ident authentication failed for user "ambari"\n"}
to bypass it, I have to update postgres conf files before restarting the install_cluster.sh :
https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.1.0/bk_ambari-installation/content/postgres-remote-connections.html
The text was updated successfully, but these errors were encountered: