Add experimental Ubuntu 22.04 support

This is not officially supported by openstack for the Yoga
release due to 22.04 shipping python3.10, but the jobs are
passing with only small adjustments so experimental support
is added during the Yoga release.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/838836
Depends-On: https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/838830
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/838832
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/839521
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/840278
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_rally/+/840313
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/840518
Change-Id: Ieee9c0d690d4e8207a0806bd385ffccc12188906
This commit is contained in:
Jonathan Rosser 2022-04-27 08:59:49 +01:00 committed by Dmitriy Rabotyagov
parent 758379c6fb
commit 566d4ec5de
5 changed files with 99 additions and 3 deletions

View File

@ -55,11 +55,13 @@
that:
- (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8') or
(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), CentOS 8 derivatives such as Rocky Linux, and CentOS 8 Stream.
Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Yammy) CentOS 8 derivatives such
as Rocky Linux, CentOS 8 Stream and CentOS 9 Stream.
roles:
- role: "openstack_hosts"
vars_files:

View File

@ -18,11 +18,13 @@
that:
(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or
(ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8') or
(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), CentOS 8 derivatives such as Rocky Linux, and CentOS 8 Stream.
Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Yammy) CentOS 8 derivatives such
as Rocky Linux, CentOS 8 Stream and CentOS 9 Stream.
when: (check_operating_system | default(True))| bool
tags:
- check-operating-system

View File

@ -305,6 +305,82 @@
vars:
ansible_package: "file://{{ ansible_user_dir }}/src/github.com/ansible/ansible"
# ubuntu jammy
- job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-aio_ceph-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-aio_nfs-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-aio_proxy-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-aio_metal-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-upgrade-aio_metal-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
timeout: 10800
- job:
name: openstack-ansible-upgrade-aio_lxc-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
timeout: 10800
- job:
name: openstack-ansible-upgrade-infra_lxc-ubuntu-jammy
parent: openstack-ansible-deploy-aio-infra
nodeset: ubuntu-jammy
timeout: 10800
- job:
name: openstack-ansible-deploy-infra_lxc-ubuntu-jammy
parent: openstack-ansible-deploy-aio-infra
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-hosts_lxc-ubuntu-jammy
parent: openstack-ansible-deploy-aio-hosts
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-hosts_metal-ubuntu-jammy
parent: openstack-ansible-deploy-aio-hosts
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-aio_telemetry_metal-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-aio_qdrouterd-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
- job:
name: openstack-ansible-deploy-translations-ubuntu-jammy
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-jammy
# ubuntu focal
- job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-focal

View File

@ -28,7 +28,7 @@
regexp: 'https'
replace: "http"
when:
- ansible_facts['distribution_release'] in ['focal']
- ansible_facts['distribution_release'] in ['focal', 'jammy']
- name: Remove package excludes for yum/dnf
lineinfile:

View File

@ -44,6 +44,8 @@
- openstack-ansible-deploy-aio_lxc-debian-bullseye
- openstack-ansible-deploy-aio_lxc-rockylinux-8
- openstack-ansible-deploy-aio_lxc-ubuntu-focal
- openstack-ansible-deploy-aio_lxc-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-8-stream
@ -87,6 +89,8 @@
- openstack-ansible-deploy-infra_lxc-debian-bullseye
- openstack-ansible-deploy-infra_lxc-rockylinux-8
- openstack-ansible-deploy-infra_lxc-ubuntu-focal
- openstack-ansible-deploy-infra_lxc-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-infra_lxc-centos-8-stream
@ -107,6 +111,8 @@
- openstack-ansible-deploy-hosts_lxc-debian-bullseye
- openstack-ansible-deploy-hosts_lxc-rockylinux-8
- openstack-ansible-deploy-hosts_lxc-ubuntu-focal
- openstack-ansible-deploy-hosts_lxc-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-hosts_lxc-centos-8-stream
@ -127,6 +133,8 @@
- openstack-ansible-deploy-hosts_metal-debian-bullseye
- openstack-ansible-deploy-hosts_metal-rockylinux-8
- openstack-ansible-deploy-hosts_metal-ubuntu-focal
- openstack-ansible-deploy-hosts_metal-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-hosts_metal-centos-8-stream
@ -168,6 +176,8 @@
- openstack-ansible-deploy-aio_metal-centos-8-stream
- openstack-ansible-deploy-aio_metal-centos-9-stream
- openstack-ansible-deploy-aio_metal-ubuntu-focal
- openstack-ansible-deploy-aio_metal-ubuntu-jammy:
voting: false
- openstack-ansible-deploy-aio_metal-rockylinux-8
- openstack-ansible-upgrade-aio_metal-centos-8-stream:
voting: false
@ -189,6 +199,8 @@
- openstack-ansible-deploy-aio_telemetry_metal-debian-bullseye
- openstack-ansible-deploy-aio_telemetry_metal-rockylinux-8
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-focal
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-aio_telemetry_metal-centos-8-stream
@ -215,6 +227,8 @@
check:
jobs:
- openstack-ansible-deploy-aio_nfs-ubuntu-focal
- openstack-ansible-deploy-aio_nfs-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-aio_nfs-ubuntu-focal
@ -224,6 +238,8 @@
check:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-focal
- openstack-ansible-deploy-aio_ceph-ubuntu-jammy:
voting: false
gate:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-focal