Add Geo node name info to `rake gitlab:geo:check`
Problem to solve
A Geo node must have a current_node_name
that matches the name
of a record in the geo_nodes
table. It's easy to make a one character mistake in gitlab.rb
or in the /admin/geo/nodes
form that breaks this relationship. When things are broken or when setup is not complete, it would really help to call attention to this information when relevant.
Intended users
- Geo sysadmins
- Geo developers
Further details
Proposal
Add to output of rake gitlab:geo:check
:
- Output
Node name: #{GeoNode.current_node_name}
- If the instance has a matching
GeoNode
in DB, then outputFound Geo node record
- Else if the instance does not have a matching
GeoNode
in DB, then outputCannot find a Geo node record with name \"#{GeoNode.current_node_name}\"
Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
Edited by Michael Kozono