Page MenuHomePhabricator

Upgrade Gerrit hosts from Bullseye to Bookworm
Closed, ResolvedPublic

Description

BookwormJava 21Gerrit 3.11Gerrit 3.12

The Gerrit hosts are currently running Debian Bullseye and the application runs under Java 17. Gerrit 3.12 will drop support for Java 17 and require Java 21.

Both Debian Bullseye and Bookworm come with Java 17.
For Debian Bookworm we have component/jdk21 which let us upgrade to Java 21 (T392448#10759611).

Therefore we should reimage the Gerrit hosts from Bullseye to Bookworm, keeping java 17.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
ResolvedNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedABran-WMF
ResolvedABran-WMF
OpenNone
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedMatthewVernon
ResolvedLSobanski
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedLSobanski
Resolvedhashar
ResolvedABran-WMF
Resolvedhashar
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
Resolveddancy
ResolvedABran-WMF
DuplicateNone
DuplicateABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedDzahn
ResolvedABran-WMF
ResolvedDzahn
OpenNone
ResolvedJelto
OpenNone
ResolvedJelto
ResolvedMarostegui
ResolvedDzahn
OpenNone
ResolvedDzahn
ResolvedABran-WMF
ResolvedABran-WMF
ResolvedABran-WMF

Event Timeline

Yea.. this is what gerrit2003 was made for (T372804) ...

That's also where T338470 is fixed already.

We have had that for months yet there didn't seem to be interest in testing and switching to it.

But it should happen as part of T387833. Then once 2003 is production we can reimage the other 2 older hosts.

hashar renamed this task from Upgrade Gerrit hosts to Bookworm to Upgrade Gerrit hosts from Bullseye to Bookworm.Apr 28 2025, 12:54 PM

This is mostly a duplicate of T372804 where we already did the things needed to have a gerrit on bookworm.

The difference being just that we started gerrit2003 only and this should cover all 3 hosts.

Paladox has let me know Gerrit maintainers have announced support for Gerrit 3.10 will stop on November 10th.
https://gerrit-review.googlesource.com/c/homepage/+/510701

We thus need to upgrade the machines to Bookworm to let us switch to Java 21 and then upgrade to 3.11.

I kind of lost track of where we were regarding upgrading the hosts and I realized this task was not even tagged with collaboration-services.

That's because the actual ticket is T372804 which was created 10 months earlier. Most of this was already done back in September 2024 and has been waiting ever since to be tested. It has been part of the whole failover vs standby discussion.

Per @ABran-WMF:

The upgrade to Bookworm upgrade was blocked by the need to fix throttling to deter scrapers, it should resume after https://gerrit.wikimedia.org/r/c/operations/puppet/+/1189386 is merged.

That is for {T402611}

we should reimage the Gerrit hosts from Bullseye to Bookworm, keeping java 17.

Arnaud reimaged gerrit1003 to bookworm. Java is not installed yet but the JRE will remain 17.

openjdk-17-jre - OpenJDK Java runtime, using Hotspot JIT

All gerrit hosts are on bookworm. Thanks to @ABran-WMF .

I think this can be closed as resolved.

ABran-WMF claimed this task.

great, thanks!