On 06/06/2024 17:19, Fabian Arrotin wrote:
Recently , after the openshift cluster upgrade to ocp 4.15, some tenants asked about lack of update for Jenkins (stuck on version 2.401.1 , EOL LTS version)
Long story short (people can read https://pagure.io/centos-infra/issue/1409) :
- Openshift (during releases) modified the default jenkins
imagestreamtag (https://access.redhat.com/documentation/en-us/openshift_container_platform/4...)
- deployed jenkins pods were using DeploymentConfig using jenkins:2
imagestreamtag (not up2date)
What is required from you , CI tenants : you can just edit (for now) your deploymentconfig like this, and that will automatically trigger a pod redeploy, using latest jenkins lts version from registry ( v2.440.3 when writing this) :
oc edit dc/jenkins replace "name: jenkins:2" with "name: jenkins:ocp-upgrade-redeploy" and exit
Watch for your logs and then update your plugins
Worth knowing that we'll enforce this rule on June 17th, by making (ocp cluster wise in openshift namespace) jenkins:2 an alias to jenkins:ocp-upgrade-redeploy, so redeploying *all* jenkins pods that aren't migrated yet
Summary : So if you prefer to do that yourself and watch process, and pause your ci jobs, etc , do it now If you don't do it, it will be done automatically (but in unattended way) on June 17th
Erratum : I'll do that on June 19th instead (giving more or less two weeks timeframe)