User Tools

Site Tools


Sidebar

General Lab Info (Mainly for Devs)

Hardware

Lab Infrastructure Services

Misc Admin Tasks
These are infrequently completed tasks that don't fit under any specific service

Production Services

OVH = OVH
RHEV = Sepia RHE instance
Baremetal = Host in Sepia lab

The Attic/Legacy Info

tasks:major-distro-release

New Major Distro Release Procedure

This page will cover all the components of the Upstream testing process that need to be modified in order to start building packages for and testing new major Linux distribution versions.

Steps

    1. Add the distro to Cobbler
      1. You will likely need to provision a machine with Cobbler and tweak the packages that get installed in the kickstart
        1. If you haven't already, put set-next-server-local.sh in place on your workstation.
    2. Create the roles/testnode/vars/distro_majorversion.yml file
    3. Create the roles/testnode/templates/ssh/sshd_config_distro_majorversion.yml file
    4. You will also likely need to tweak the packages in this file as package names change or get deprecated
  1. FOG
  2. teuthology
    1. Add to the distro map
  3. Prado [DEPRECATED] only needs modifying if you're adding a new distro entirely
  4. Shaman
    1. Add the new distro to the appropriate codename maps here
    2. Redeploy
  5. Chacra
    1. Add the new distro here
    2. Redeploy
  6. Mita [DEPRECATED]
    1. If necessary, add the distro to prod_nodes.py
      1. If you're adding a new distro entirely, you'll also need to add the Openstack image to the appropriate region.
    2. Redeploy
  7. Jenkins Job Configs: See https://github.com/ceph/ceph-build/pull/1022 as an example. It is not all encompassing! I missed a few spots in that PR.
    1. Don't forget build_utils.sh
    1. Download the latest vagrant version from https://releases.hashicorp.com/vagrant/
    2. Using Ubuntu Jammy as an example:
      wget https://releases.hashicorp.com/vagrant/2.2.19/vagrant_2.2.19_x86_64.deb
      ls vagrant_2.2.19_x86_64.deb | chacractl binary create vagrant/latest/HEAD/ubuntu/jammy/x86_64
  8. Once you have a successful Ceph build and repo for this new OS version, change the default in ceph.git like this and this.
  9. Also in teuthology like this.
tasks/major-distro-release.txt · Last modified: 2022/08/10 16:52 by djgalloway