Improve feedback if initial replication fails

If the initial replication fails the feedback in the terminal doesn't provide actionable feedback nor make it clear that the issue should probably be resolved by reviewing the configuration on the primary.

If replication fails, we should should provide feedback that:

  • instructs the user to review their configuration on the primary in gitlab.rb
  • tells them which IP address is being used to connect to the primary
    • the user should update their config to use this IP
    • OR verify bridge between networks is working (might be trying to use internal IP)

References:

  • https://docs.gitlab.com/ee/gitlab-geo/database.html#step-4-initiate-the-replication-process
Assignee Loading
Time tracking Loading