Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • omnibus-gitlab omnibus-gitlab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,059
    • Issues 1,059
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • omnibus-gitlabomnibus-gitlab
  • Issues
  • #5618
Closed
Open
Issue created Sep 02, 2020 by Nick Nguyen@nhxnguyenDeveloper

Account for seed project in replicate-geo-database

Summary

Recently, we added a self-monitoring seed project for fresh GitLab installs (gitlab#208454 (closed)).

When replicate-geo-database is run, we check gitlab_is_active?, which checks whether the primary database exists with a non-empty projects table. If it detects a projects table with records, it will raise a warning. Users can pass --force to the command to proceed even when gitlab_is_active? returns true.

Now that there is a seed project, whenever a user runs replicate-geo-database with a fresh install on the secondary, they will always encounter this message, which could be confusing.

Steps to reproduce

Follow the instructions to set up a single-node Geo primary and secondary instance with Omnibus.

What is the current bug behavior?

When running replicate-geo-database, it will incorrectly warn the user that data was found inside the database. Yes, there is data, but it is the seeded project.

What is the expected correct behavior?

Replication should be allowed to continue without displaying the warning or exiting the program.

Relevant logs

Relevant logs

Details of package version

Provide the package version installation details

Edited Sep 04, 2020 by Nick Nguyen
Assignee
Assign to
Time tracking