Merge "Drop Bionic support"
This commit is contained in:
commit
c9abd1d6ba
11
.zuul.yaml
11
.zuul.yaml
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
2
stack.sh
2
stack.sh
@ -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"
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user