Set pgbouncer password in one place
During the migration today, we found that:
-
pgbouncer_user_password
was changed in GSTG to match GPRD (roles/gstg-base-db-postgres.json
) on 2018-06-11 - This wasn't changed in the
users.pgbouncer.password
section (roles/gstg-base-db-pgbouncer.json
)
When Omnibus was upgraded today, the gitlab-ctl reconfigure
altered the password of the pgbouncer user on GSTG.
For reference, I ran the following to see that they did not match:
echo <password> | md5
Then updated /var/opt/gitlab/pgbouncer/pg_auth
to use this password.
We should set the password in one place.
/cc: @jarv
Edited by Stan Hu