Can not replicate Geo database on Docker
I don't think this is related to #2176 (closed) but the discussion started there.
For some reason
gitlab-ctl replicate-geo-database errors out, which means that Geo can not be installed on Docker following our documentation.
Steps to reproduce
Start installing Geo on Docker. This can get you started https://gitlab.com/gl-support/testlab/tree/geo/geo
What is the current bug behavior?
gitlab-ctl replicate-geo-database --host=primary errors out with the following:
[ERROR] Failed to execute: gitlab-ctl stop
When I run
gitlab-ctl status after that, it shows that everything did shut down correctly.
What is the expected correct behavior?
The database should be replicated.
Relevant tips for working on this
The file that probably needs to be worked on is https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-ctl-commands-ee/replicate_geo_database.rb
On an Omnibus installation the file lives in
Removing the 30 second sleep on line 42 is great for debugging