Page MenuHomePhabricator

Make Gerrit deployable with scap on the devtools WMCS project
Closed, ResolvedPublic

Description

The devtools WMCS project is used by Release-Engineering-Team as a testing area for some of our tools (notably Gitlab and Phabricator). There is a Gerrit instance there but it is not deployable via scap currently. This task is to make Gerrit deployable.

RoleInstance FQDN
Deploymentdeploy-1004.devtools.eqiad1.wikimedia.cloud
Gerritgerrit-prod-1001.devtools.eqiad1.wikimedia.cloud
Puppetpuppetmaster-1001.devtools.eqiad1.wikimedia.cloud

Event Timeline

Change 831062 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/puppet@production] devtools: add keyholder agent for Gerrit

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

Change 831063 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@deploy/wmf/stable-3.4] Add deployment configuration for devtools WMCS project

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

Mentioned in SAL (#wikimedia-releng) [2022-09-09T10:49:58Z] <hashar> devtools: fixed fqdn of instances puppetmaster-1001 and gerrit-prod-1001 by manually editing /etc/hosts # T317404

Change 831062 merged by Jbond:

[operations/puppet@production] devtools: add keyholder agent for Gerrit

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

I have generated a local ssh keypair for Gerrit following the wikitech documentation. I have added it on the local puppetmaster as a private commit in /var/lib/git/labs/private.

I had to remove profile::keyholder::server::agents from https://horizon.wikimedia.org/project/puppet/ since that was overriding the definition in Puppet hieradata/cloud/eqiad1/devtools/common.yaml

hashar claimed this task.

scap / keyholder are set up. I have managed to do a deployment. I can now look at testing the automation of the manual steps mentioned at https://wikitech.wikimedia.org/wiki/Gerrit/Upgrade#Deploying

Change 831063 merged by jenkins-bot:

[operations/software/gerrit@deploy/wmf/stable-3.4] Add deployment configuration for devtools WMCS project

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

It's great to hear this works in devtools.

Probably unrelated, but we had some failed puppet alerts on the deployment server there. I'll take a look what that is about.