Can not initially start GitLab in a geo secondary mode
Description
Current it is not possible to start a brand new GitLab instance in Geo secondary node mode. With using Docker it can be a command like:
docker run --rm -ti --name gitlab-secondary --net geo --hostname gitlab-secondary.geo --env GITLAB_OMNIBUS_CONFIG="geo_secondary_role['enable'] = true;" gitlab/gitlab-ee:nightly
Starting Geo secondary node using this approach yields a lot of exceptions, and in the end GitLab will not start correctly.
It makes it much more difficult to build integration tests for GitLab Geo because of that, and it might be also a problem for customers who would like automate setup of their secondaries.
Edited by Grzegorz Bizon