diff --git a/deploy-guide/source/deploymenthost.rst b/deploy-guide/source/deploymenthost.rst
index 2be58b06e9..5b55e16db6 100644
--- a/deploy-guide/source/deploymenthost.rst
+++ b/deploy-guide/source/deploymenthost.rst
@@ -28,7 +28,6 @@ hosts:
* `Ubuntu server 20.04 (Focal Fossa) LTS 64-bit `_
* `Debian 11 (Bullseye) LTS 64-bit `_
-* `Centos 8 64-bit `_
* `Centos 8 Stream 64-bit `_
Configure at least one network interface to access the Internet or suitable
diff --git a/deploy-guide/source/overview-requirements.rst b/deploy-guide/source/overview-requirements.rst
index c3074b98c4..230ba035ac 100644
--- a/deploy-guide/source/overview-requirements.rst
+++ b/deploy-guide/source/overview-requirements.rst
@@ -18,8 +18,6 @@ following minimum requirements:
* CentOS
- * Centos 8
-
* Centos 8 Stream
* Linux kernel version ``3.10.0`` or later.
diff --git a/deploy-guide/source/targethosts-prepare.rst b/deploy-guide/source/targethosts-prepare.rst
index 1e0f101e58..78ef3240ee 100644
--- a/deploy-guide/source/targethosts-prepare.rst
+++ b/deploy-guide/source/targethosts-prepare.rst
@@ -13,7 +13,7 @@ target host:
* Ubuntu server 20.04 (Focal Fossa) LTS 64-bit
* Debian 10 64-bit
-* Centos 8 64-bit
+* Centos 8 Stream 64-bit
Configure at least one network interface to access the Internet or
suitable local repositories.
diff --git a/doc/source/user/aio/quickstart.rst b/doc/source/user/aio/quickstart.rst
index 2ea9c206fb..d8a4449e4e 100644
--- a/doc/source/user/aio/quickstart.rst
+++ b/doc/source/user/aio/quickstart.rst
@@ -121,16 +121,7 @@ version.
.. note::
The |current_release_formal_name| release is only compatible with
- Debian 11 (bullseye), Ubuntu 20.04 (Focal Fossa), CentOS 8 and
- CentOS 8 Stream.
-
-.. warning::
- The announcement of early end-of-life for CentOS 8 and the migration
- to CentOS Stream leaves OpenStack-Ansible currently un-installable on
- CentOS Stream. A number of critical dependencies are taken from the
- EPEL repository and currently these will not install onto a CentOS
- Stream host. Careful consideration should be given to the life-cycle
- of any new deployments on CentOS 8.
+ Debian 11 (bullseye), Ubuntu 20.04 (Focal Fossa) and CentOS 8 Stream.
The next step is to bootstrap Ansible and the Ansible roles for the
development environment.
diff --git a/playbooks/openstack-hosts-setup.yml b/playbooks/openstack-hosts-setup.yml
index e2acb21531..cc317270db 100644
--- a/playbooks/openstack-hosts-setup.yml
+++ b/playbooks/openstack-hosts-setup.yml
@@ -58,7 +58,7 @@
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8')
msg: >
The only supported platforms for this release are Debian 11 (Bullseye),
- Ubuntu 20.04 LTS (Focal), CentOS 8 and CentOS 8 Stream.
+ Ubuntu 20.04 LTS (Focal) and CentOS 8 Stream.
roles:
- role: "openstack_hosts"
vars_files:
diff --git a/playbooks/utility-install.yml b/playbooks/utility-install.yml
index ebd0da0253..7e60b6ae95 100644
--- a/playbooks/utility-install.yml
+++ b/playbooks/utility-install.yml
@@ -77,42 +77,6 @@
utility_distro_packages: "{{ (utility_distro_packages | default([])) + utility_distro_openstack_clients_packages }}"
when: install_method == "distro"
- - name: Add EPEL repsitory
- block:
- - name: Download EPEL gpg keys
- get_url:
- url: "{{ centos_epel_key | default('http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-' ~ ansible_facts['distribution_major_version']) }}"
- dest: /etc/pki/rpm-gpg
- register: _get_yum_keys
- until: _get_yum_keys is success
- retries: 5
- delay: 2
-
- - name: Install EPEL gpg keys
- rpm_key:
- key: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_facts['ansible_distribution_major_version'] }}"
- state: present
-
- - name: Install the EPEL repository
- yum_repository:
- name: epel-utility
- baseurl: "{{ centos_epel_mirror | default('http://download.fedoraproject.org/pub/epel') ~ '/'
- ~ ansible_facts['distribution_major_version'] ~ '/Everything/'
- ~ ansible_facts['architecture'] }}"
- description: "Extra Packages for Enterprise Linux {{ ansible_facts['ansible_distribution_major_version'] }} - $basearch"
- gpgcheck: yes
- enabled: yes
- state: present
- includepkgs: 'python3-PyMySQL python36-PyMySQL'
- register: install_epel_repo
- until: install_epel_repo is success
- retries: 5
- delay: 2
- when:
- - install_method == "distro"
- - ansible_facts['os_family'] | lower == 'redhat'
- - ansible_distribution_major_version is version('8', '<')
-
- name: Install distro packages
package:
name: "{{ utility_distro_packages | default([]) }}"
diff --git a/releasenotes/notes/drop-centos-8-537ef0f11cd90916.yaml b/releasenotes/notes/drop-centos-8-537ef0f11cd90916.yaml
new file mode 100644
index 0000000000..04d007c40e
--- /dev/null
+++ b/releasenotes/notes/drop-centos-8-537ef0f11cd90916.yaml
@@ -0,0 +1,7 @@
+---
+upgrade:
+ - |
+ The Yoga release of OpenStack-Ansible removes support for Centos-8.
+ Deployments should be upgraded from Centos-8 to an alternative
+ supported operating system during the Xena release before upgrading
+ to Yoga.
diff --git a/scripts/scripts-library.sh b/scripts/scripts-library.sh
index 742366cde5..e7541457fc 100755
--- a/scripts/scripts-library.sh
+++ b/scripts/scripts-library.sh
@@ -57,8 +57,7 @@ fi
# Build ansible-runtime venv
function build_ansible_runtime_venv {
# All distros have a python-virtualenv > 13.
- # - Centos 8 has 15.1, which holds pip 9.0.1, setuptools 28.8, wheel 0.29
- # See also: http://mirror.centos.org/centos/7/os/x86_64/Packages/
+ # - Centos 8 Stream has 15.1, which holds pip 9.0.1, setuptools 28.8, wheel 0.29
# - openSUSE 42.3 has 13.1.2, which holds pip 7.1.2, setuptools 18.2, wheel 0.24.
# See also: https://build.opensuse.org/package/show/openSUSE%3ALeap%3A42.3/python-virtualenv
# - Ubuntu Xenial has 15.0.1, holding pip 8.1.1, setuptools 20.3, wheel 0.29
diff --git a/tests/roles/bootstrap-host/tasks/check-requirements.yml b/tests/roles/bootstrap-host/tasks/check-requirements.yml
index c266394dd3..47567c7ca3 100644
--- a/tests/roles/bootstrap-host/tasks/check-requirements.yml
+++ b/tests/roles/bootstrap-host/tasks/check-requirements.yml
@@ -21,7 +21,7 @@
(ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '8')
msg: >-
The only supported platforms for this release are Debian Bullseye,
- Ubuntu 20.04 (Focal), CentOS 8, CentOS 8 Stream
+ Ubuntu 20.04 (Focal), and CentOS 8 Stream
when: (check_operating_system | default(True))| bool
tags:
- check-operating-system