Add Rocky Linux 9 to zuul and docs

* Fix up messaging in a couple of playbooks to describe Rocky as a
  supported install host

Change-Id: Ief4023bab570836b41c6837a6abbbbcde2644bb3
This commit is contained in:
Neil Hanlon 2022-09-12 10:13:13 -04:00 committed by Dmitriy Rabotyagov
parent f465a385fb
commit f2cc3bbfce
12 changed files with 162 additions and 16 deletions

View File

@ -6,7 +6,7 @@ About OpenStack-Ansible
OpenStack-Ansible (OSA) uses the `Ansible <https://www.ansible.com/how-ansible-works>`_
IT automation engine to deploy an OpenStack environment on Ubuntu, Debian
and CentOS.
and CentOS Stream (including derivatives like Rocky Linux)
For isolation and ease of maintenance, all OpenStack services are installed by
default from source code into python virtual environments.
@ -24,7 +24,7 @@ listed in our :dev_docs:`architecture reference <reference/architecture/index.ht
Why choose OpenStack-Ansible?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Supports the major Linux distributions Ubuntu, CentOS, Debian.
* Supports the major Linux distributions Ubuntu, CentOS/Rocky, Debian.
* Offers automation for upgrades between major OpenStack releases.
* Uses OpenStack defaults for each of the project roles, and provides
extra wiring and optimised configuration when combining projects

View File

@ -30,6 +30,7 @@ hosts:
* `Ubuntu server 20.04 (Focal Fossa) LTS 64-bit <http://releases.ubuntu.com/20.04/>`_
* `Debian 11 (Bullseye) LTS 64-bit <https://www.debian.org/distrib/>`_
* `Centos 9 Stream 64-bit <https://mirrors.centos.org/mirrorlist?path=/9-stream/BaseOS/x86_64/iso/>`_
* `Rocky Linux 9 64-bit <https://mirrors.rockylinux.org/mirrorlist?path=/pub/rocky/9.0/isos/>`_
Configure at least one network interface to access the Internet or suitable
local repositories.
@ -64,8 +65,8 @@ Before you begin, we recommend upgrading your system packages and kernel.
#. Configure NTP to synchronize with a suitable time source.
Configure CentOS
~~~~~~~~~~~~~~~~
Configure CentOS / Rocky
~~~~~~~~~~~~~~~~~~~~~~~~
Install additional software packages and configure Network Time Protocol (NTP).
Before you begin, we recommend upgrading your system packages and kernel.

View File

@ -24,7 +24,7 @@ following minimum requirements:
* Centos 9 Stream
* Rocky Linux 8
* Rocky Linux 9
* Linux kernel version ``3.10.0`` or later.

View File

@ -15,6 +15,7 @@ target host:
* Ubuntu server 20.04 (Focal Fossa) LTS 64-bit
* Debian 11 64-bit
* Centos 9 Stream 64-bit
* Rocky Linux 9 64-bit
Configure at least one network interface to access the Internet or
suitable local repositories.
@ -90,8 +91,8 @@ Configure Ubuntu
#. Reboot the host to activate the changes and use the new kernel.
Configure CentOS
~~~~~~~~~~~~~~~~
Configure CentOS / Rocky
~~~~~~~~~~~~~~~~~~~~~~~~
#. Upgrade the system packages and kernel:

View File

@ -8,22 +8,28 @@
<th colspan="4" class="text-center col-lg-2">Ubuntu</th>
<th colspan="4" class="text-center col-lg-2">CentOS</th>
<th colspan="3" class="text-center col-lg-2">Debian</th>
<th colspan="1" class="text-center col-lg-2">Rocky Linux</th>
<th colspan="2" class="text-center col-lg-2">Rocky Linux</th>
<th colspan="2" class="text-center col-lg-2">Suse</th>
</tr>
<tr>
<!-- Ubuntu -->
<th class="text-center">16.04</th>
<th class="text-center">18.04</th>
<th class="text-center">20.04</th>
<th class="text-center">22.04</th>
<!-- CentOS -->
<th class="text-center">7</th>
<th class="text-center">8</th>
<th class="text-center">8 Stream</th>
<th class="text-center">9 Stream</th>
<!-- Debian -->
<th class="text-center">9</th>
<th class="text-center">10</th>
<th class="text-center">11</th>
<!-- Rocky Linux -->
<th class="text-center">8</th>
<th class="text-center">9</th>
<!-- SUSE -->
<th class="text-center">42</th>
<th class="text-center">15</th>
</tr>
@ -42,6 +48,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -60,6 +67,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -78,6 +86,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -95,6 +104,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -113,6 +123,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -130,6 +141,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -148,6 +160,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td class="warning"></td><!-- Suse 15 -->
</tr>
@ -165,6 +178,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td class="warning"></td><!-- Suse 15 -->
</tr>
@ -183,6 +197,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td class="warning"></td><!-- Suse 15 -->
</tr>
@ -200,6 +215,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td class="warning"></td><!-- Suse 15 -->
</tr>
@ -218,6 +234,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -235,6 +252,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -253,6 +271,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -270,6 +289,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -288,6 +308,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -305,6 +326,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -323,6 +345,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -340,6 +363,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -358,6 +382,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>
@ -375,6 +400,7 @@
<td></td><!-- Debian 10 -->
<td></td><!-- Debian 11 -->
<td></td><!-- RockyLinux 8 -->
<td></td><!-- RockyLinux 9 -->
<td></td><!-- Suse 42 -->
<td></td><!-- Suse 15 -->
</tr>

View File

@ -69,7 +69,7 @@ system packages are upgraded and then reboot into the new kernel:
.. code-block:: shell-session
## CentOS
## CentOS / Rocky Linux
# dnf upgrade
# dnf install git-core
# systemctl stop firewalld
@ -81,7 +81,7 @@ system packages are upgraded and then reboot into the new kernel:
Before rebooting, in ``/etc/sysconfig/selinux``, make sure that
``SELINUX=enforcing`` is changed to ``SELINUX=disabled``.
SELinux enabled is not currently supported in OpenStack-Ansible
for CentOS/RHEL due to a lack of maintainers for the feature.
for CentOS/Rocky/RHEL due to a lack of maintainers for the feature.
.. note::
@ -121,7 +121,7 @@ version.
.. note::
The |current_release_formal_name| release is only compatible with
Debian 11 (bullseye), Ubuntu 20.04 (Focal Fossa), CentOS 8 Stream,
Debian 11 (bullseye), Ubuntu 20.04 (Focal Fossa), CentOS 9 Stream,
and derivitives of CentOS Stream/RHEL such as Rocky Linux.
The next step is to bootstrap Ansible and the Ansible roles for the

View File

@ -59,7 +59,7 @@
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')
msg: >
The only supported platforms for this release are Debian 11 (Bullseye),
Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Jammy) and CentOS 9 Stream.
Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Jammy), CentOS 9 Stream, and Rocky Linux 9.
roles:
- role: "openstack_hosts"
vars_files:

View File

@ -0,0 +1,4 @@
---
features:
- |
Support Rocky Linux 9 as a Deployment and Target host

View File

@ -73,9 +73,10 @@ case ${DISTRO_ID} in
PYTHON_EXEC_PATH="$(which python3.8)"
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
;;
9)
dnf -y install python3 python3-devel libselinux-python3
9|9.[0-9]*)
dnf -y install python3 python3-devel python3-libselinux
PYTHON_EXEC_PATH="$(which python3)"
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
;;
esac
;;

View File

@ -23,8 +23,8 @@
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')
msg: >-
The only supported platforms for this release are Debian 11 (Bullseye),
Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Yammy) CentOS 8 derivatives such
as Rocky Linux, CentOS 8 Stream and CentOS 9 Stream.
Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Yammy), CentOS Stream 9, and derivatives such
as Rocky Linux.
when: (check_operating_system | default(True))| bool
tags:
- check-operating-system

View File

@ -642,3 +642,99 @@
name: openstack-ansible-deploy-hosts_lxc_overlayfs-debian-bullseye
parent: openstack-ansible-deploy-aio
nodeset: debian-bullseye
# rocky linux 9
- job:
name: openstack-ansible-deploy-aio_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-infra_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-hosts_distro_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-hosts_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-hosts_metal-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-aio_distro_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio-distro
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-aio_ceph-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-aio_nfs-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-aio_distro_ceph-rockylinux-9
parent: openstack-ansible-deploy-aio-distro
nodeset: rockylinux-9
- job:
name: openstack-ansible-upgrade-aio_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
timeout: 10800
- job:
name: openstack-ansible-upgrade-infra_lxc-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
timeout: 10800
- job:
name: openstack-ansible-deploy-aio_metal-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-aio_telemetry_metal-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-deploy-aio_distro_metal-rockylinux-9
parent: openstack-ansible-deploy-aio-distro
nodeset: rockylinux-9
voting: false
- job:
name: openstack-ansible-deploy-aio_nspawn-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
- job:
name: openstack-ansible-upgrade-aio_ceph-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
timeout: 10800
- job:
name: openstack-ansible-upgrade-aio_metal-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9
timeout: 10800
- job:
name: openstack-ansible-deploy-hosts_lxc_overlayfs-rockylinux-9
parent: openstack-ansible-deploy-aio
nodeset: rockylinux-9

View File

@ -40,6 +40,7 @@
check:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-9-stream
- openstack-ansible-deploy-aio_lxc-rockylinux-9
- openstack-ansible-deploy-aio_lxc-debian-bullseye
- openstack-ansible-deploy-aio_lxc-ubuntu-focal
- openstack-ansible-deploy-aio_lxc-ubuntu-jammy:
@ -47,6 +48,7 @@
gate:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-9-stream
- openstack-ansible-deploy-aio_lxc-rockylinux-9
- openstack-ansible-deploy-aio_lxc-debian-bullseye
- openstack-ansible-deploy-aio_lxc-ubuntu-focal
periodic:
@ -81,6 +83,7 @@
check:
jobs:
- openstack-ansible-deploy-infra_lxc-centos-9-stream
- openstack-ansible-deploy-infra_lxc-rockylinux-9
- openstack-ansible-deploy-infra_lxc-debian-bullseye
- openstack-ansible-deploy-infra_lxc-ubuntu-focal
- openstack-ansible-deploy-infra_lxc-ubuntu-jammy:
@ -88,6 +91,7 @@
gate:
jobs:
- openstack-ansible-deploy-infra_lxc-centos-9-stream
- openstack-ansible-deploy-infra_lxc-rockylinux-9
- openstack-ansible-deploy-infra_lxc-debian-bullseye
- openstack-ansible-deploy-infra_lxc-ubuntu-focal
periodic:
@ -99,6 +103,7 @@
check:
jobs:
- openstack-ansible-deploy-hosts_lxc-centos-9-stream
- openstack-ansible-deploy-hosts_lxc-rockylinux-9
- openstack-ansible-deploy-hosts_lxc-debian-bullseye
- openstack-ansible-deploy-hosts_lxc-ubuntu-focal
- openstack-ansible-deploy-hosts_lxc-ubuntu-jammy:
@ -106,6 +111,7 @@
gate:
jobs:
- openstack-ansible-deploy-hosts_lxc-centos-9-stream
- openstack-ansible-deploy-hosts_lxc-rockylinux-9
- openstack-ansible-deploy-hosts_lxc-debian-bullseye
- openstack-ansible-deploy-hosts_lxc-ubuntu-focal
periodic:
@ -117,6 +123,7 @@
check:
jobs:
- openstack-ansible-deploy-hosts_metal-centos-9-stream
- openstack-ansible-deploy-hosts_metal-rockylinux-9
- openstack-ansible-deploy-hosts_metal-debian-bullseye
- openstack-ansible-deploy-hosts_metal-ubuntu-focal
- openstack-ansible-deploy-hosts_metal-ubuntu-jammy:
@ -124,6 +131,7 @@
gate:
jobs:
- openstack-ansible-deploy-hosts_metal-centos-9-stream
- openstack-ansible-deploy-hosts_metal-rockylinux-9
- openstack-ansible-deploy-hosts_metal-debian-bullseye
- openstack-ansible-deploy-hosts_metal-ubuntu-focal
periodic:
@ -135,11 +143,13 @@
check:
jobs:
- openstack-ansible-deploy-hosts_distro_lxc-centos-9-stream
- openstack-ansible-deploy-hosts_distro_lxc-rockylinux-9
- openstack-ansible-deploy-hosts_distro_lxc-debian-bullseye
- openstack-ansible-deploy-hosts_distro_lxc-ubuntu-focal
gate:
jobs:
- openstack-ansible-deploy-hosts_distro_lxc-centos-9-stream
- openstack-ansible-deploy-hosts_distro_lxc-rockylinux-9
- openstack-ansible-deploy-hosts_distro_lxc-debian-bullseye
- openstack-ansible-deploy-hosts_distro_lxc-ubuntu-focal
@ -156,6 +166,7 @@
jobs:
- openstack-ansible-deploy-aio_metal-debian-bullseye
- openstack-ansible-deploy-aio_metal-centos-9-stream
- openstack-ansible-deploy-aio_metal-rockylinux-9
- openstack-ansible-deploy-aio_metal-ubuntu-focal
- openstack-ansible-deploy-aio_metal-ubuntu-jammy:
voting: false
@ -166,6 +177,7 @@
jobs:
- openstack-ansible-deploy-aio_metal-debian-bullseye
- openstack-ansible-deploy-aio_metal-centos-9-stream
- openstack-ansible-deploy-aio_metal-rockylinux-9
- openstack-ansible-deploy-aio_metal-ubuntu-focal
- project-template:
@ -173,6 +185,7 @@
check:
jobs:
- openstack-ansible-deploy-aio_telemetry_metal-centos-9-stream
- openstack-ansible-deploy-aio_telemetry_metal-rockylinux-9
- openstack-ansible-deploy-aio_telemetry_metal-debian-bullseye
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-focal
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-jammy:
@ -180,6 +193,7 @@
gate:
jobs:
- openstack-ansible-deploy-aio_telemetry_metal-centos-9-stream
- openstack-ansible-deploy-aio_telemetry_metal-rockylinux-9
- openstack-ansible-deploy-aio_telemetry_metal-debian-bullseye
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-focal
@ -188,6 +202,7 @@
check:
jobs:
- openstack-ansible-deploy-aio_distro_metal-centos-9-stream
- openstack-ansible-deploy-aio_distro_metal-rockylinux-9
- openstack-ansible-deploy-aio_distro_metal-ubuntu-focal
experimental:
jobs:
@ -246,6 +261,7 @@
- openstack-ansible-deploy-hosts_lxc_btrfs-debian-bullseye
- openstack-ansible-deploy-hosts_lxc_overlayfs-debian-bullseye
- openstack-ansible-deploy-hosts_lxc_overlayfs-centos-9-stream
- openstack-ansible-deploy-hosts_lxc_overlayfs-rockylinux-9
gate:
jobs:
- openstack-ansible-deploy-hosts_lxc_zfs-ubuntu-focal
@ -254,6 +270,7 @@
- openstack-ansible-deploy-hosts_lxc_btrfs-debian-bullseye
- openstack-ansible-deploy-hosts_lxc_overlayfs-debian-bullseye
- openstack-ansible-deploy-hosts_lxc_overlayfs-centos-9-stream
- openstack-ansible-deploy-hosts_lxc_overlayfs-rockylinux-9
- project-template:
name: openstack-ansible-deploy-guide-jobs