As part of upgrading the Jenkins controller from Java 17 to Java 21 (T418109) we need all agents to have Java 21 available. Instances based on Debian Bullseye lack Java 21 and we thus need to rebuild them to Debian Bookworm (T421114).
The deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud is based on Bullseye and attached to Jenkins (deployment-deploy04). The instance needs to be rebuild to Debian Bookworm.
Why not Trixie?
Bookworm has both Java 17 and Java 21. This let us rebuild the instance and attach it to the current Jenkins running Java 17. When we switch over to a new Jenkins that runs Java 21, we will be able to change the Java version on the agent from 17 to 21 and have them connected to the new Jenkins.
Trixie only has Java 21, which would not let us attach an instance based on it to the current Jenkins (which lacks Java 21).
Jenkins
Once the instance is build, it will be added to Jenkins with the label BetaClusterBastion. Maybe the existing one can be renamed ( https://integration.wikimedia.org/ci/computer/deployment%2Ddeploy04/ ), disconnected and reconnected to the new host.
The Jenkins jobs are tied to the label rather than an agent named and would thus start running on the new agent.
Configuration
Per instance Puppet config:
role::beta::deploymentserver role::deployment_server profile::ci::slave::labs::common
profile::base::labs::cleanup_puppet_client_bucket: true profile::ci::slave::labs::common::manage_srv: false profile::kubernetes::client::version: '1.23' profile::mediawiki::scap_client::is_master: true
deployment-deploy Puppet prefix config at https://horizon.wikimedia.org/project/prefixpuppet/
profile::rsyslog::kafka_shipper
aptly::manage_nginx: false profile::base::labs::cleanup_puppet_client_bucket: true profile::ci::slave::labs::common::manage_srv: false profile::java::java_packages: - variant: jre-headless version: '17' profile::mediawiki::php::absented_php_versions: - '8.1' profile::mediawiki::php::php_versions: - '8.3' profile::mediawiki::scap_client::is_master: true profile::mediawiki::webserver::default_php_version: '8.3'