Add a Gitaly Cluster (Praefect) shape on two omnibus VMs

What

just lab praefect up|configure|verify|down: two omnibus VMs. Node A runs Rails and Praefect, with the Praefect database in the bundled PostgreSQL. Node B runs Gitaly alone (gitaly_role) as storage gitaly-1. It reuses the geo pattern (direct ssh, detached installs, per-shape state file), with the transport kept in one function so the ADR-0006 rig spec can replace it.

Keys follow https://docs.gitlab.com/administration/gitaly/praefect/configure/. The page says to keep Praefect off the application server; this shape departs from that to stay at two VMs, and the leaf says so.

Proof

On a GCE rig, verify passed: praefect sql-ping, dial-nodes and check; gitaly check; gitlab:gitaly:check; a project created through Rails; an HTTP push; and the replica @cluster/repositories/6b/86/1 read from node B's disk with refs/heads/main at the pushed sha. Node A holds no repository of its own.

Notes

  • docs/maintenance.md gains a dependency-register row for the omnibus Praefect keys. The shape uses no new Rails symbol, so doctor is unchanged.
  • scan-accept.yml accepts six reviewed signatures for praefect.sh, the classes geo.sh already carries.
  • geo.md is tightened to stay under the word budget.
  • just ci passes.

Merge request reports

Loading
Loading