Page MenuHomePhabricator

Update and improve operation runbooks and documentation for Gerrit
Closed, ResolvedPublic

Description

In T423027: 2026-04-12 Gerrit Outage (was: DiskSpace) the lack of up-to-date runbooks was mentioned. As a follow-up we should improve the documentation for Gerrit so that SREs on-call also know how to perform basic Gerrit operations.

Additionally (if possible) we should also document how to temporarily escalate privileges, some incidents might require gerrit admin permissions.

Event Timeline

A_smart_kitten subscribed.

(swapping incident tag for incident-followup; also boldly removing as a subtask, as iiuc this is a follow-up task rather than something that needs to be done before the incident can be called resolved)

I've added a bit of documentation on gerrit ssh commands: https://wikitech.wikimedia.org/wiki/Gerrit/Operations#Use_gerrit_ssh_commands

Unfortunately, the process is not trivial and requires updating ldap before being able to access ssh commands

LSobanski triaged this task as High priority.
LSobanski moved this task from Incoming to Work in Progress on the Collaboration-Services board.

Change #1277048 had a related patch set uploaded (by Arnaudb; author: Arnaudb):

[operations/alerts@master] gerrit: predict_linear alert for diskspace

https://gerrit.wikimedia.org/r/1277048

Change #1277048 merged by jenkins-bot:

[operations/alerts@master] gerrit: predict_linear alert for diskspace

https://gerrit.wikimedia.org/r/1277048

ABran-WMF updated the task description. (Show Details)

this can be considered done, the remaining bit will be tracked with T424196: Document how to restart CI when Gerrit had a production issue

Change #1277565 had a related patch set uploaded (by Arnaudb; author: Arnaudb):

[operations/alerts@master] gerrit: fix AlertLintProblem for GerritDiskSpaceExhaustionIncoming

https://gerrit.wikimedia.org/r/1277565

Change #1277565 merged by jenkins-bot:

[operations/alerts@master] gerrit: fix AlertLintProblem for GerritDiskSpaceExhaustionIncoming

https://gerrit.wikimedia.org/r/1277565