Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04 upgrade campaign #2982

Open
dduportal opened this issue Jun 10, 2022 · 18 comments
Open

Ubuntu 22.04 upgrade campaign #2982

dduportal opened this issue Jun 10, 2022 · 18 comments

Comments

@dduportal
Copy link
Contributor

In jenkinsci/packaging#317, there has been a work to use Ubuntu 22.04 Jammy Jellyfish the latest LTS.

This issue tracks the tasks and work to get all our resources to use Ubuntu 22.04, which might have consequences (as per #2978):

  • openssl
  • curl
  • git
  • createrepo
  • etc.

List of resources that would need an update:

  • jenkins-infra/packer-images: agent templates (used by our Jenkins controllers). Using Ubuntu 20.04 for now.
    • Easy to change (full IAC)
    • We have to be careful as it might break some ci.jenkins.io use cases.
  • jenkins-infra/jenkins-infra: VMs managed by puppet, such as pkg.jenkins.io
    • We need to validate on a test machine that our current version of puppet works with Ubuntu 22.04 (not only the agent, but we also have a risk of some modules not working at runtime). @olblak had some surprises when migrating archives.jenkins.io to oracle (from "Ubuntu 18.04, Intel CPU, on AWS EC2" to "Ubuntu 20.04, ARM64 CPU, on Oracle cloud) last year.
    • Machine per machine, we have to communicate, and backup to allow rollbacks
  • Container images:
    • Besides jenkins-infra/docker-packaging, it does not seem we have other base images on ubuntu. To be double check by someone else than me.
@github-actions github-actions bot added the triage Incoming issues that need review label Jun 10, 2022
@dduportal dduportal added this to the infra-team-sync-next milestone Jun 10, 2022
@dduportal
Copy link
Contributor Author

For information @smerle33 caught that the puppet and puppet-agent packages are not yet available to 22.04 while working on #2649 .

There is an official issue for Puppet OpenSource tracking the support: https://tickets.puppetlabs.com/browse/PA-4233.
As for today, there is a "nightly" build only: https://groups.google.com/g/puppet-users/c/3IWiwwG9Ydo/m/Tzh7xrKwAAAJ

@dduportal
Copy link
Contributor Author

For info, AKS swicthes its nodes to Ubuntu 22.04 starting with Kubernetes 1.25 as per https://github.com/Azure/AKS/releases/tag/2022-10-02

@dduportal
Copy link
Contributor Author

Ubuntu 22.04 is now used for the Linux VM and container agents for our controllers (except a few edge cases):

@dduportal
Copy link
Contributor Author

Ubuntu 22.04 is now used for the Linux VM and container agents for our controllers (except a few edge cases):

* PR in the packer-image templates: [breaking: bump from Ubuntu 20.04 to Ubuntu 22.04 packer-images#299](https://github.com/jenkins-infra/packer-images/pull/299)

* Release: https://github.com/jenkins-infra/packer-images/releases/tag/1.0.0

* Deployment for the VM agents (Azure +EC2) of infra.ci.jenkins.io: [chore: upgrade packer images to Ubuntu 22.04 jenkins-infra#2740](https://github.com/jenkins-infra/jenkins-infra/pull/2740)

* Deployment for the VM agents (Azure +EC2) and container of ci.jenkins.io: [chore: upgrade packer images to Ubuntu 22.04 jenkins-infra#2740](https://github.com/jenkins-infra/jenkins-infra/pull/2740)

Note that Ubuntu 22.04 created some issues in jenkinsci/packaging#388, but fixed.

@dduportal
Copy link
Contributor Author

@dduportal
Copy link
Contributor Author

Update of cert.ci finished with success. Had to update puppet configuration with jenkins-infra/jenkins-infra#2898

@dduportal
Copy link
Contributor Author

Next candidates:

  • VM for census.jenkins.io (in AWS, Ubuntu 18.04)
  • VM for usage.jenkins.io (in AWS, Ubuntu 18.04)
  • VM for archives.jenkins.io (in Oracle, Ubuntu 20.04)

@dduportal
Copy link
Contributor Author

Next candidates:

* VM for `census.jenkins.io` (in AWS, Ubuntu 18.04)

* VM for `usage.jenkins.io` (in AWS, Ubuntu 18.04)

* VM for `archives.jenkins.io` (in Oracle, Ubuntu 20.04)

These 3 VMs have been upgraded to 22.04 with success

@dduportal
Copy link
Contributor Author

dduportal commented Jun 23, 2023

Remaining Ubuntu 18.04 to migrate to 22.04 (only puppet master stays in 20.04 for now):

@dduportal
Copy link
Contributor Author

Post mortem of vpn.jenkins.io's upgrade to Ubuntu 22.04 (18.04 -> 20.04) which broke the VPN to ci.jenkins.io (SSH) and cert.ci.jenkins.io (HTTPS) for a few hours:

@dduportal
Copy link
Contributor Author

ci.jenkins.io is now running with Ubuntu jammy ✅ (ref. #3535)

@dduportal
Copy link
Contributor Author

Removing this issue from any milestone as it required the following items to be finished:

@dduportal dduportal removed this from the infra-team-sync-2023-08-08 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant