Remove support for Ubuntu Bionic

Depends-On: Ib13ee61f9f61bf56eaa71dfe41bd7cbf8c28675d

Change-Id: Iba36f4d42c0580a8f174cec2f633e4b5e7944dbc
This commit is contained in:
Jonathan Rosser 2021-12-07 08:35:09 +00:00
parent 16442ff809
commit 4ec0f5374f
15 changed files with 32 additions and 100 deletions

11
Vagrantfile vendored
View File

@ -31,17 +31,6 @@ Vagrant.configure(2) do |config|
# Configure the disk size.
disk_size = "60GB"
config.vm.define "ubuntu1804" do |bionic|
bionic.vm.box = "ubuntu/bionic64"
bionic.disksize.size = disk_size
config.vm.provision "shell",
privileged: true,
inline: <<-SHELL
cd /vagrant
./scripts/gate-check-commit.sh
SHELL
end
config.vm.define "opensuse423" do |leap423|
leap423.disksize.size = disk_size
leap423.vm.box = "opensuse/openSUSE-42.3-x86_64"

View File

@ -26,7 +26,6 @@ Install the operating system
Install one of the following supported operating systems on the deployment
hosts:
* `Ubuntu server 18.04 (Bionic Beaver) LTS 64-bit <http://releases.ubuntu.com/18.04/>`_
* `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 8 64-bit <http://isoredirect.centos.org/centos/8/isos/x86_64/>`_

View File

@ -12,8 +12,6 @@ following minimum requirements:
* Ubuntu
* Ubuntu 18.04 LTS (Bionic Beaver)
* Ubuntu 20.04 LTS (Focal Fossa)
* Linux kernel version ``4.15.0-0-generic`` or later is required.

View File

@ -11,7 +11,6 @@ Installing the operating system
Install one of the following supported operating systems on the
target host:
* Ubuntu server 18.04 (Bionic Beaver) LTS 64-bit
* Ubuntu server 20.04 (Focal Fossa) LTS 64-bit
* Debian 10 64-bit
* Centos 8 64-bit

View File

@ -116,7 +116,7 @@ the OpenStack API and dashboard, as an administrator.
| 1 | nova-conductor | aio1-nova-conductor-container-5482ff27 | internal | enabled | up | 2018-02-14T15:34:42.000000 |
| 2 | nova-scheduler | aio1-nova-scheduler-container-0b594e89 | internal | enabled | up | 2018-02-14T15:34:47.000000 |
| 5 | nova-consoleauth | aio1-nova-console-container-835ca240 | internal | enabled | up | 2018-02-14T15:34:47.000000 |
| 6 | nova-compute | ubuntu-bionic | nova | enabled | up | 2018-02-14T15:34:42.000000 |
| 6 | nova-compute | ubuntu-focal | nova | enabled | up | 2018-02-14T15:34:42.000000 |
+----+------------------+----------------------------------------+----------+---------+-------+----------------------------+
#. Run an OpenStack command to ensure the networking services are
@ -130,7 +130,7 @@ the OpenStack API and dashboard, as an administrator.
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+----------------------+----------------------------------------+-------------------+-------+-------+---------------------------+
| 262b29fe-e60e-44b0-ae3c-065565f8deb7 | Metering agent | aio1-neutron-agents-container-2b0569d5 | None | :-) | UP | neutron-metering-agent |
| 41135f7f-9e6c-4122-b6b3-d131bfaae53e | Linux bridge agent | ubuntu-bionic | None | :-) | UP | neutron-linuxbridge-agent |
| 41135f7f-9e6c-4122-b6b3-d131bfaae53e | Linux bridge agent | ubuntu-focal | None | :-) | UP | neutron-linuxbridge-agent |
| 615d12a8-e738-490a-8552-2a03c8544b51 | Metadata agent | aio1-neutron-agents-container-2b0569d5 | None | :-) | UP | neutron-metadata-agent |
| 99b2abd3-a330-4ca7-b524-ed176c10b31c | DHCP agent | aio1-neutron-agents-container-2b0569d5 | nova | :-) | UP | neutron-dhcp-agent |
| e0139a26-fbf7-4cee-a37f-90940dc5851f | Linux bridge agent | aio1-neutron-agents-container-2b0569d5 | None | :-) | UP | neutron-linuxbridge-agent |

View File

@ -121,8 +121,8 @@ version.
.. note::
The |current_release_formal_name| release is only compatible with
Debian 11 (bullseye), Ubuntu 18.04 (Bionic Beaver),
Ubuntu 20.04 (Focal Fossa), CentOS 8 and CentOS 8 Stream.
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

View File

@ -88,10 +88,10 @@ Many software packages are installed on Ubuntu hosts using `.deb` packages.
Similar packaging mechanisms exist for other Linux distributions. We advise
mirroring the repositories that host these packages.
Upstream Ubuntu repositories to mirror for Ubuntu 18.04 LTS:
Upstream Ubuntu repositories to mirror for Ubuntu 20.04 LTS:
- bionic
- bionic-updates
- focal
- focal-updates
OpenStack-Ansible requires several other repositories to install specific
components such as Galera and Ceph.

View File

@ -222,8 +222,8 @@ The http-01 type challenge is used by certbot to deploy certificates so
it is required that the public endpoint is accessible directly by the
Certificate Authority.
Deployment of certificates using certbot has been validated for
openstack-ansible using Ubuntu Bionic. Other distributions should work
Deployment of certificates using LetsEncrypt has been validated for
openstack-ansible using Ubuntu Focal. Other distributions should work
but are not tested.
To deploy certificates with certbot, add the following to

View File

@ -38,7 +38,7 @@ ceph_conf_overrides: "{{ (ceph_conf_overrides_rgw | default({})) | combine(ceph_
# needed.
nfs_file_gw: "{{ (('ceph-nfs' in groups) and ('ceph-mds' in groups)) }}"
nfs_obj_gw: False
nfs_ganesha_stable: "{{ (ansible_facts['distribution_release'] not in ['bionic', 'focal']) }}"
nfs_ganesha_stable: "{{ (ansible_facts['distribution_release'] not in ['focal']) }}"
# NTP in an OSA environment is handled by ansible-hardening using chrony
# ceph-ansible's default enabling of ntpd conflicts with the OSA defaults

View File

@ -54,17 +54,11 @@
assert:
that:
- (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 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:
that:
- not (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'bionic' and install_method == 'distro')
msg: Distro installation path is not supported for this release for Ubuntu 18.04 (bionic)
Ubuntu 20.04 LTS (Focal), CentOS 8 and CentOS 8 Stream.
roles:
- role: "openstack_hosts"
vars_files:

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The Yoga release of OpenStack-Ansible removes support for Ubuntu Bionic.
Deployments should be upgraded from Bionic to Focal before or during the
Xena release before upgrading to Yoga.

View File

@ -17,13 +17,11 @@
assert:
that:
(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 Bullseye,
Ubuntu 18.04 LTS (Bionic), Ubuntu 20.04 (Focal),
CentOS 8, CentOS 8 Stream
Ubuntu 20.04 (Focal), CentOS 8, CentOS 8 Stream
when: (check_operating_system | default(True))| bool
tags:
- check-operating-system

View File

@ -225,7 +225,7 @@
- job:
name: openstack-ansible-varstest-aio
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
nodeset: ubuntu-focal
# Running linters check
- job:
@ -237,9 +237,9 @@
# Experimental job for checking our AIO can deploy with
# a different ansible version
- job:
name: openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-bionic
name: openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-focal
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
nodeset: ubuntu-focal
branches: ^(devel|master)$
required-projects:
- name: github.com/ansible/ansible
@ -250,9 +250,9 @@
# Experimental job for checking our AIO can deploy with
# a different ansible version
- job:
name: openstack-ansible-deploy_with_ansible_next-aio-ubuntu-bionic
name: openstack-ansible-deploy_with_ansible_next-aio-ubuntu-focal
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
nodeset: ubuntu-focal
branches: ^(devel|master)$
required-projects:
- name: github.com/ansible/ansible
@ -339,64 +339,15 @@
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-focal
# ubuntu bionic
- job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-bionic
name: openstack-ansible-deploy-aio_qdrouterd-ubuntu-focal
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
nodeset: ubuntu-focal
- job:
name: openstack-ansible-deploy-aio_ceph-ubuntu-bionic
name: openstack-ansible-deploy-translations-ubuntu-focal
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job:
name: openstack-ansible-deploy-aio_proxy-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job:
name: openstack-ansible-deploy-aio_metal-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job:
name: openstack-ansible-deploy-aio_telemetry_metal-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job:
name: openstack-ansible-upgrade-aio_lxc-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
timeout: 10800
- job:
name: openstack-ansible-upgrade-aio_metal-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
timeout: 10800
- job:
name: openstack-ansible-upgrade-aio_ceph-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
timeout: 10800
- job:
name: openstack-ansible-deploy-aio_octavia-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job:
name: openstack-ansible-deploy-aio_qdrouterd-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
- job:
name: openstack-ansible-deploy-translations-ubuntu-bionic
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-bionic
nodeset: ubuntu-focal
# centos 8 stream
- job:

View File

@ -28,7 +28,7 @@
regexp: 'https'
replace: "http"
when:
- ansible_distribution_release in ['bionic', 'focal']
- ansible_distribution_release in ['focal']
# NOTE(noonedeadpunk): Added until CentOS 8.3 released because of the bug:
# https://bugzilla.redhat.com/show_bug.cgi?id=1777718

View File

@ -24,12 +24,12 @@
- openstack-tox-docs
periodic:
jobs:
- openstack-ansible-deploy-translations-ubuntu-bionic
- openstack-ansible-deploy-translations-ubuntu-focal
experimental:
jobs:
- openstack-ansible-deploy-aio_qdrouterd-ubuntu-bionic
- openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-bionic
- openstack-ansible-deploy_with_ansible_next-aio-ubuntu-bionic
- openstack-ansible-deploy-aio_qdrouterd-ubuntu-focal
- openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-focal
- openstack-ansible-deploy_with_ansible_next-aio-ubuntu-focal
- project-template:
name: openstack-ansible-deploy-aio_lxc-jobs
@ -155,7 +155,6 @@
- openstack-ansible-deploy-aio_metal-debian-bullseye
- openstack-ansible-deploy-aio_metal-centos-8
- openstack-ansible-deploy-aio_metal-centos-8-stream
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
- openstack-ansible-deploy-aio_metal-ubuntu-focal
- openstack-ansible-upgrade-aio_metal-centos-8-stream:
voting: false
@ -165,7 +164,6 @@
- openstack-ansible-deploy-aio_metal-debian-bullseye
- openstack-ansible-deploy-aio_metal-centos-8
- openstack-ansible-deploy-aio_metal-centos-8-stream
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
- openstack-ansible-deploy-aio_metal-ubuntu-focal
- project-template: