HA: `gitlab-rake gitlab:setup` does not take into account new DB credentials
I've setup GitLab HA using https://docs.gitlab.com/ee/administration/high_availability/gitlab.html and I noticed that the instructions in https://docs.gitlab.com/ee/administration/high_availability/gitlab.html#first-gitlab-application-server aren't really correct as
sudo gitlab-rake gitlab:setup does not work with the new DB credentials I've given above. For that, I had to run
sudo gitlab-ctl reconfigure first (it fails on this stage) and then
gitlab:setup works with the new credentials. It's probably known...