Page MenuHomePhabricator

Migrate Gerrit to profile::java
Closed, ResolvedPublic

Description

In T253553 profile::java was created, which streamlines the installation and configuration of Java (picking the correct packages/repos depending on the target release, opting in to the hardened java.security config, passing Java opts centrally and more).

Gerrit should also switch to it.

Event Timeline

herron triaged this task as Medium priority.Sep 30 2020, 5:19 PM
hashar subscribed.

A few notes:

Gerrit runs with Java 8 for now. The reason, I believe, is that when we replaced the hardware (cobaltgerrit1001) we have upgraded the Debian distribution to Buster and went to stick with java 8 to avoid introducing two changes at the same time.

We need the dbg package in order to have symbols resolved when taking stacktraces or heap informations T231872

We need the dbg package in order to have symbols resolved when taking stacktraces or heap informations T231872

Fot the dbg package there's a patch already: https://gerrit.wikimedia.org/r/c/operations/puppet/+/617079 I'll merge it next week.

We need the dbg package in order to have symbols resolved when taking stacktraces or heap informations T231872

This has been added to profile::java in https://gerrit.wikimedia.org/r/c/operations/puppet/+/617079/

Change 632224 had a related patch set uploaded (by Muehlenhoff; owner: Muehlenhoff):
[operations/puppet@production] Switch gerrit to profile::java

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

Change 632224 merged by Dzahn:
[operations/puppet@production] Switch gerrit to profile::java

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

MoritzMuehlenhoff claimed this task.

The Gerrit servers have been switched to profile::java (which allowed for quite a few cleanups)