From 16442ff809854c3a68a129d9dcd3abc20b322a17 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 7 Dec 2021 08:03:34 +0000 Subject: [PATCH] Remove support for Debian Buster Depends-On: I91f5d67129065b281b3a22281d0eae9ff89786c0 Change-Id: I8c60e2ab9da49be367ac78113ae9839941407a1d --- deploy-guide/source/deploymenthost.rst | 1 - deploy-guide/source/overview-requirements.rst | 2 - doc/source/user/aio/quickstart.rst | 2 +- playbooks/openstack-hosts-setup.yml | 5 +- .../notes/drop-buster-0d63a54b1e5ee288.yaml | 6 +++ .../tasks/check-requirements.yml | 3 +- zuul.d/jobs.yaml | 46 ------------------- zuul.d/project-templates.yaml | 15 ------ 8 files changed, 10 insertions(+), 70 deletions(-) create mode 100644 releasenotes/notes/drop-buster-0d63a54b1e5ee288.yaml diff --git a/deploy-guide/source/deploymenthost.rst b/deploy-guide/source/deploymenthost.rst index a4605df9a7..de8f92d2c3 100644 --- a/deploy-guide/source/deploymenthost.rst +++ b/deploy-guide/source/deploymenthost.rst @@ -28,7 +28,6 @@ hosts: * `Ubuntu server 18.04 (Bionic Beaver) LTS 64-bit `_ * `Ubuntu server 20.04 (Focal Fossa) LTS 64-bit `_ -* `Debian 10 (Buster) LTS 64-bit `_ * `Debian 11 (Bullseye) LTS 64-bit `_ * `Centos 8 64-bit `_ * `Centos 8 Stream 64-bit `_ diff --git a/deploy-guide/source/overview-requirements.rst b/deploy-guide/source/overview-requirements.rst index 8e15483548..789ea7cff1 100644 --- a/deploy-guide/source/overview-requirements.rst +++ b/deploy-guide/source/overview-requirements.rst @@ -6,8 +6,6 @@ following minimum requirements: * Debian - * Debian 10 (buster) - * Debian 11 (bullseye) * Linux kernel version ``4.9.0-0-amd64`` or later is required. diff --git a/doc/source/user/aio/quickstart.rst b/doc/source/user/aio/quickstart.rst index d6d11d80a4..08a7642967 100644 --- a/doc/source/user/aio/quickstart.rst +++ b/doc/source/user/aio/quickstart.rst @@ -121,7 +121,7 @@ version. .. note:: The |current_release_formal_name| release is only compatible with - Debian 10 (buster), Debian 11 (bullseye), Ubuntu 18.04 (Bionic Beaver), + Debian 11 (bullseye), Ubuntu 18.04 (Bionic Beaver), Ubuntu 20.04 (Focal Fossa), CentOS 8 and CentOS 8 Stream. .. warning:: diff --git a/playbooks/openstack-hosts-setup.yml b/playbooks/openstack-hosts-setup.yml index 6568b109cd..584da9a5ea 100644 --- a/playbooks/openstack-hosts-setup.yml +++ b/playbooks/openstack-hosts-setup.yml @@ -53,13 +53,12 @@ - name: Check for a supported Operating System assert: that: - - (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'buster') or - (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or + - (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'bionic') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8') msg: > - The only supported platforms for this release are Debian 10 (Buster), Debian 11 (Bullseye), + The only supported platforms for this release are Debian 11 (Bullseye), Ubuntu 18.04 LTS (Bionic), Ubuntu 20.04 LTS (Focal), CentOS 8 and CentOS 8 Stream. - name: Check for a supported path assert: diff --git a/releasenotes/notes/drop-buster-0d63a54b1e5ee288.yaml b/releasenotes/notes/drop-buster-0d63a54b1e5ee288.yaml new file mode 100644 index 0000000000..b8ebe6538d --- /dev/null +++ b/releasenotes/notes/drop-buster-0d63a54b1e5ee288.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + The Yoga release of OpenStack-Ansible removes support for Debian Buster. + Deployments should be upgraded from Buster to Bullseye before or during the + Xena release before upgrading to Yoga. diff --git a/tests/roles/bootstrap-host/tasks/check-requirements.yml b/tests/roles/bootstrap-host/tasks/check-requirements.yml index 855195bd9f..35f31aad0b 100644 --- a/tests/roles/bootstrap-host/tasks/check-requirements.yml +++ b/tests/roles/bootstrap-host/tasks/check-requirements.yml @@ -16,13 +16,12 @@ - name: Check for a supported Operating System assert: that: - (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'buster') or (ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'bionic') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8') msg: >- - The only supported platforms for this release are Debian Buster, Debian Bullseye, + The only supported platforms for this release are Debian Bullseye, Ubuntu 18.04 LTS (Bionic), Ubuntu 20.04 (Focal), CentOS 8, CentOS 8 Stream when: (check_operating_system | default(True))| bool diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 9b3583b8d0..0e72f9a214 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -554,52 +554,6 @@ nodeset: centos-8 timeout: 10800 -# debian buster -- job: - name: openstack-ansible-deploy-aio_telemetry_metal-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-aio_lxc-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-infra_lxc-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-hosts_lxc-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-hosts_distro_lxc-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-hosts_metal-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-aio_distro_lxc-debian-buster - parent: openstack-ansible-deploy-aio-distro - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-aio_metal-debian-buster - parent: openstack-ansible-deploy-aio - nodeset: debian-buster - -- job: - name: openstack-ansible-deploy-aio_distro_metal-debian-buster - parent: openstack-ansible-deploy-aio-distro - nodeset: debian-buster - # debian bullseye - job: diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index 8cb4d370a6..f8785825d7 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -37,14 +37,12 @@ jobs: - openstack-ansible-deploy-aio_lxc-centos-8 - openstack-ansible-deploy-aio_lxc-centos-8-stream - - openstack-ansible-deploy-aio_lxc-debian-buster - openstack-ansible-deploy-aio_lxc-debian-bullseye - openstack-ansible-deploy-aio_lxc-ubuntu-focal gate: jobs: - openstack-ansible-deploy-aio_lxc-centos-8 - openstack-ansible-deploy-aio_lxc-centos-8-stream - - openstack-ansible-deploy-aio_lxc-debian-buster - openstack-ansible-deploy-aio_lxc-debian-bullseye - openstack-ansible-deploy-aio_lxc-ubuntu-focal periodic: @@ -80,14 +78,12 @@ jobs: - openstack-ansible-deploy-infra_lxc-centos-8 - openstack-ansible-deploy-infra_lxc-centos-8-stream - - openstack-ansible-deploy-infra_lxc-debian-buster - openstack-ansible-deploy-infra_lxc-debian-bullseye - openstack-ansible-deploy-infra_lxc-ubuntu-focal gate: jobs: - openstack-ansible-deploy-infra_lxc-centos-8 - openstack-ansible-deploy-infra_lxc-centos-8-stream - - openstack-ansible-deploy-infra_lxc-debian-buster - openstack-ansible-deploy-infra_lxc-debian-bullseye - openstack-ansible-deploy-infra_lxc-ubuntu-focal periodic: @@ -100,14 +96,12 @@ jobs: - openstack-ansible-deploy-hosts_lxc-centos-8 - openstack-ansible-deploy-hosts_lxc-centos-8-stream - - openstack-ansible-deploy-hosts_lxc-debian-buster - openstack-ansible-deploy-hosts_lxc-debian-bullseye - openstack-ansible-deploy-hosts_lxc-ubuntu-focal gate: jobs: - openstack-ansible-deploy-hosts_lxc-centos-8 - openstack-ansible-deploy-hosts_lxc-centos-8-stream - - openstack-ansible-deploy-hosts_lxc-debian-buster - openstack-ansible-deploy-hosts_lxc-debian-bullseye - openstack-ansible-deploy-hosts_lxc-ubuntu-focal periodic: @@ -120,14 +114,12 @@ jobs: - openstack-ansible-deploy-hosts_metal-centos-8 - openstack-ansible-deploy-hosts_metal-centos-8-stream - - openstack-ansible-deploy-hosts_metal-debian-buster - openstack-ansible-deploy-hosts_metal-debian-bullseye - openstack-ansible-deploy-hosts_metal-ubuntu-focal gate: jobs: - openstack-ansible-deploy-hosts_metal-centos-8 - openstack-ansible-deploy-hosts_metal-centos-8-stream - - openstack-ansible-deploy-hosts_metal-debian-buster - openstack-ansible-deploy-hosts_metal-debian-bullseye - openstack-ansible-deploy-hosts_metal-ubuntu-focal periodic: @@ -139,13 +131,11 @@ check: jobs: - openstack-ansible-deploy-hosts_distro_lxc-centos-8-stream - - openstack-ansible-deploy-hosts_distro_lxc-debian-buster - 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-8-stream - - openstack-ansible-deploy-hosts_distro_lxc-debian-buster - openstack-ansible-deploy-hosts_distro_lxc-debian-bullseye - openstack-ansible-deploy-hosts_distro_lxc-ubuntu-focal @@ -155,7 +145,6 @@ jobs: - openstack-ansible-deploy-aio_distro_lxc-centos-8 - openstack-ansible-deploy-aio_distro_lxc-centos-8-stream - - openstack-ansible-deploy-aio_distro_lxc-debian-buster - openstack-ansible-deploy-aio_distro_lxc-debian-bullseye - openstack-ansible-deploy-aio_distro_lxc-ubuntu-focal @@ -163,7 +152,6 @@ name: openstack-ansible-deploy-aio_metal-jobs check: jobs: - - openstack-ansible-deploy-aio_metal-debian-buster - openstack-ansible-deploy-aio_metal-debian-bullseye - openstack-ansible-deploy-aio_metal-centos-8 - openstack-ansible-deploy-aio_metal-centos-8-stream @@ -174,7 +162,6 @@ - openstack-ansible-upgrade-aio_metal-ubuntu-focal gate: jobs: - - openstack-ansible-deploy-aio_metal-debian-buster - openstack-ansible-deploy-aio_metal-debian-bullseye - openstack-ansible-deploy-aio_metal-centos-8 - openstack-ansible-deploy-aio_metal-centos-8-stream @@ -187,14 +174,12 @@ jobs: - openstack-ansible-deploy-aio_telemetry_metal-centos-8 - openstack-ansible-deploy-aio_telemetry_metal-centos-8-stream - - openstack-ansible-deploy-aio_telemetry_metal-debian-buster - openstack-ansible-deploy-aio_telemetry_metal-debian-bullseye - openstack-ansible-deploy-aio_telemetry_metal-ubuntu-focal gate: jobs: - openstack-ansible-deploy-aio_telemetry_metal-centos-8 - openstack-ansible-deploy-aio_telemetry_metal-centos-8-stream - - openstack-ansible-deploy-aio_telemetry_metal-debian-buster - openstack-ansible-deploy-aio_telemetry_metal-debian-bullseye - openstack-ansible-deploy-aio_telemetry_metal-ubuntu-focal