Hi I’m currently trying to set up GitLab with HA. [GitLab version 13.6.4]
I’m following this documentation: https://docs.gitlab.com/ee/administration/high_availability/database.html#example-minimal-configuration-for-database-servers
I want to configure pgDatabase and Consul on the same machines (Minimal Configuration).
I’am able to see all pg cluster nodes on all nodes.
Now i think that the only thing left to run is the following command on the applicational servers,
The problem is that when this command is executed I get this,
[root@cf-prod-gitlab-app01 ~]# gitlab-rake gitlab:db:configure rake aborted! PG::ConnectionBad: ERROR: pgbouncer cannot connect to server /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:49:in `block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:in `load' /opt/gitlab/embedded/bin/bundle:23:in `<main>' Tasks: TOP => gitlab:db:configure (See full trace by running task with --trace)
I already have tried to execute with --trace, but nothing relevant appeared…
I also did some research i found this thread (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2883) and tried to use pgbouncer[‘auth_type’] = ‘trust’ option on the applicational servers… but it made no difference.
Can anyone help?