[Fullstack] Use newer openvswitch

Current version used is old and does not work on Bionic nodes. But as
Xenial kernels do not include the fix for local VXLAN tunnels
(bug/1684897), we still have to use a locally compiled version.

On Xenial nodes, the Queens UCA repository has openvswitch 2.9.0
On Bionic nodes, we have 2.9.2

So use the latest 2.9 release for fullstack testing

Change-Id: Ifb61daa1f14969a1d09379599081e96053488f9f
Closes-Bug: #1818632
This commit is contained in:
Bernard Cafarelli 2019-03-06 16:58:20 +01:00
parent 513dd7f46b
commit 05b0144e83
No known key found for this signature in database
GPG Key ID: D148244A3C2462BD
1 changed files with 6 additions and 7 deletions

View File

@ -73,14 +73,13 @@ case $VENV in
# Because of bug present in current Ubuntu Xenial kernel version
# we need a fix for VXLAN local tunneling.
if [[ "$VENV" =~ "dsvm-fullstack" ]]; then
# The OVS_BRANCH variable is used by git checkout. In the case below,
# we use openvswitch commit 138df3e563de9da0e5a4155b3534a69621495742
# that contains a fix for usage of VXLAN tunnels on a single node
# (commit 741f47cf35df2bfc7811b2cff75c9bb8d05fd26f) and is compatible
# with kernel 4.4.119
# NOTE(slaweq): Replace with a release tag when one is available.
# See commit 138df3e563de9da0e5a4155b3534a69621495742 (on the ovs repo).
OVS_BRANCH="138df3e563de9da0e5a4155b3534a69621495742"
# we use openvswitch release 2.9.3 that contains a fix for usage of
# VXLAN tunnels on a single node (ovs repository commit
# 741f47cf35df2bfc7811b2cff75c9bb8d05fd26f). This can be dropped once
# we switch to Ubuntu Bionic nodes, where kernel has the fix
OVS_BRANCH="v2.9.3"
compile_ovs_kernel_module
fi