Drop Bionic support

Since victoria cycle, we have moved upstream testing to
Ubuntu Focal (20.04) and so does no Bionic distro in
Xena cycle testing runtime[1]. Grenade jobs also started
running on Focal since victoria was released.

Only thing left was legacy jobs which were not migrated to
Ubuntu Focal in Victoria and as per another community-wide
goal[2], all the lgeacy jobs were suppsoed to be migrated
to zuulv3 native jobs in victoria cycle itself. One of the
pending job was in nova (nova-grenade-multinode) which is also
migrated to zuulv3 native now
- https://review.opendev.org/c/openstack/nova/+/778885

If there is any job running on bionic, we strongly recommend
to migrate it to Ubuntu Focal.

[1] https://governance.openstack.org/tc/reference/runtimes/xena.html
[2] https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html

Change-Id: I39e38e4a6c2e52dd3822c9fdea354258359a9f53
This commit is contained in:
Ghanshyam Mann 2021-04-29 09:24:38 -05:00
parent 0386c1cda6
commit 7ad4cd07c8
5 changed files with 1 additions and 59 deletions

View File

@ -584,16 +584,6 @@
voting: false voting: false
timeout: 9000 timeout: 9000
- job:
name: devstack-platform-bionic
parent: tempest-full-py3
description: Ubuntu Bionic platform test
nodeset: openstack-single-node-bionic
voting: false
vars:
devstack_localrc:
CINDER_ISCSI_HELPER: tgtadm
- job: - job:
name: devstack-async name: devstack-async
parent: tempest-full-py3 parent: tempest-full-py3
@ -695,7 +685,6 @@
- devstack-ipv6 - devstack-ipv6
- devstack-platform-fedora-latest - devstack-platform-fedora-latest
- devstack-platform-centos-8 - devstack-platform-centos-8
- devstack-platform-bionic
- devstack-async - devstack-async
- devstack-multinode - devstack-multinode
- devstack-unit-tests - devstack-unit-tests

View File

@ -93,9 +93,6 @@ function install_apache_uwsgi {
if is_ubuntu; then if is_ubuntu; then
local pkg_list="uwsgi uwsgi-plugin-python3 libapache2-mod-proxy-uwsgi" local pkg_list="uwsgi uwsgi-plugin-python3 libapache2-mod-proxy-uwsgi"
if [[ "$DISTRO" == 'bionic' ]]; then
pkg_list="${pkg_list} uwsgi-plugin-python"
fi
install_package ${pkg_list} install_package ${pkg_list}
elif is_fedora; then elif is_fedora; then
# Note httpd comes with mod_proxy_uwsgi and it is loaded by # Note httpd comes with mod_proxy_uwsgi and it is loaded by

View File

@ -91,12 +91,6 @@ CINDER_VOLUME_CLEAR=$(echo ${CINDER_VOLUME_CLEAR} | tr '[:upper:]' '[:lower:]')
# Default to lioadm # Default to lioadm
CINDER_ISCSI_HELPER=${CINDER_ISCSI_HELPER:-lioadm} CINDER_ISCSI_HELPER=${CINDER_ISCSI_HELPER:-lioadm}
# Bionic needs to default to tgtadm until support is dropped within devstack
# as the rtslib-fb-targetctl service doesn't start after installing lioadm.
if is_ubuntu && [[ "$DISTRO" == "bionic" ]]; then
CINDER_ISCSI_HELPER=tgtadm
fi
# EL and SUSE should only use lioadm # EL and SUSE should only use lioadm
if is_fedora || is_suse; then if is_fedora || is_suse; then
if [[ ${CINDER_ISCSI_HELPER} != "lioadm" ]]; then if [[ ${CINDER_ISCSI_HELPER} != "lioadm" ]]; then

View File

@ -227,7 +227,7 @@ write_devstack_version
# Warn users who aren't on an explicitly supported distro, but allow them to # Warn users who aren't on an explicitly supported distro, but allow them to
# override check and attempt installation with ``FORCE=yes ./stack`` # override check and attempt installation with ``FORCE=yes ./stack``
SUPPORTED_DISTROS="bionic|focal|f31|f32|opensuse-15.2|opensuse-tumbleweed|rhel8" SUPPORTED_DISTROS="focal|f31|f32|opensuse-15.2|opensuse-tumbleweed|rhel8"
if [[ ! ${DISTRO} =~ $SUPPORTED_DISTROS ]]; then if [[ ! ${DISTRO} =~ $SUPPORTED_DISTROS ]]; then
echo "WARNING: this script has not been tested on $DISTRO" echo "WARNING: this script has not been tested on $DISTRO"

View File

@ -59,43 +59,6 @@ function fixup_keystone {
fi fi
} }
# Ubuntu Repositories
#--------------------
# Enable universe for bionic since it is missing when installing from ISO.
function fixup_ubuntu {
if [[ "$DISTRO" != "bionic" ]]; then
return
fi
# This pulls in apt-add-repository
install_package "software-properties-common"
# Enable universe
sudo add-apt-repository -y universe
if [[ -f /etc/ci/mirror_info.sh ]] ; then
# If we are on a nodepool provided host and it has told us about
# where we can find local mirrors then use that mirror.
source /etc/ci/mirror_info.sh
sudo apt-add-repository -y "deb $NODEPOOL_UCA_MIRROR bionic-updates/ussuri main"
else
# Enable UCA:ussuri for updated versions of QEMU and libvirt
sudo add-apt-repository -y cloud-archive:ussuri
fi
REPOS_UPDATED=False
apt_get_update
# Since pip10, pip will refuse to uninstall files from packages
# that were created with distutils (rather than more modern
# setuptools). This is because it technically doesn't have a
# manifest of what to remove. However, in most cases, simply
# overwriting works. So this hacks around those packages that
# have been dragged in by some other system dependency
sudo rm -rf /usr/lib/python3/dist-packages/httplib2-*.egg-info
sudo rm -rf /usr/lib/python3/dist-packages/pyasn1_modules-*.egg-info
sudo rm -rf /usr/lib/python3/dist-packages/PyYAML-*.egg-info
}
# Python Packages # Python Packages
# --------------- # ---------------
@ -194,7 +157,6 @@ function fixup_ovn_centos {
function fixup_all { function fixup_all {
fixup_keystone fixup_keystone
fixup_ubuntu
fixup_fedora fixup_fedora
fixup_suse fixup_suse
} }