Add Fedora 32 to supported list and use as fedora-latest

This includes a workaround to a known dnsmasq >= 2.81 issue that
results in unanswered DHCP requests from instances as documented in the
following Neutron bug:

dnsmasq >= 2.81 not responding to DHCP requests with current q-dhcp configs
https://bugs.launchpad.net/neutron/+bug/1896945

For the time being we will attempt to downgrade to 2.80 to avoid this.

Related-Bug: #1896945
Change-Id: I3a760c43956221424926bd9dad0ebe9b28ae2b52
This commit is contained in:
Lee Yarwood 2020-09-08 09:38:14 +01:00
parent 0e45edd3bf
commit fa5742f8e1
3 changed files with 9 additions and 2 deletions

View File

@ -72,7 +72,7 @@
name: devstack-single-node-fedora-latest
nodes:
- name: controller
label: fedora-31
label: fedora-32
groups:
- name: tempest
nodes:

View File

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

View File

@ -143,6 +143,13 @@ function fixup_fedora {
# overwriting works. So this hacks around those packages that
# have been dragged in by some other system dependency
sudo rm -rf /usr/lib64/python3*/site-packages/PyYAML-*.egg-info
# NOTE(lyarwood): Workaround a known issue on Fedora with dnsmasq >= 2.81
# by downgrading to 2.80 for the time being.
# https://bugs.launchpad.net/neutron/+bug/1896945
if [[ "$DISTRO" == "f32" ]] && [[ $(rpm --queryformat %{VERSION} -q dnsmasq) != "2.80" ]]; then
sudo dnf downgrade dnsmasq-2.80 -y
fi
}
function fixup_suse {