Geo: rake gitlab:geo:check on the primary is cluttered
When you run gitlab-rake gitlab:geo:check
on a primary node you get something like:
# sudo gitlab-rake gitlab:geo:check
Checking Geo ...
GitLab Geo is available ... yes
GitLab Geo is enabled ... yes
GitLab Geo secondary database is correctly configured ... not a secondary node
Database replication enabled? ... not a secondary node
Database replication working? ... not a secondary node
GitLab Geo tracking database is configured to use Foreign Data Wrapper? ... not a secondary node
GitLab Geo tracking database Foreign Data Wrapper schema is up-to-date? ... not a secondary node
GitLab Geo HTTP(S) connectivity ... not a secondary node
HTTP/HTTPS repository cloning is enabled ... yes
Machine clock is synchronized ... yes
Git user has default SSH configuration? ... yes
OpenSSH configured to use AuthorizedKeysCommand ... yes
GitLab configured to disable writing to authorized_keys file ... yes
GitLab configured to store new projects in hashed storage? ... yes
All projects are in hashed storage? ... yes
Checking Geo ... Finished
All those not a secondary node
commands make it look like there is something wrong.
Proposal
Remove the lines that do no apply to a primary node, and keep the output brief to what does matter.