[Fullstack] Don't compile ovs kernel module on Ubuntu Bionic
In fullstack tests it was required to compile ovs kernel module
for specific version from sources because we needed fix [1] for vxlan
tunnels traffic.
Now, as in Ubuntu Bionic there is at least ovs 2.9 available,
this installation from sources shouldn't be necessary anymore.
[1] b1c74f3527
Closes-Bug: #1818632
Change-Id: I83df981a4446e8f52f6f623351d1b80c224a5aff
This commit is contained in:
parent
590002728d
commit
c3ad500df0
|
@ -73,14 +73,15 @@ case $VENV in
|
||||||
# Because of bug present in current Ubuntu Xenial kernel version
|
# Because of bug present in current Ubuntu Xenial kernel version
|
||||||
# we need a fix for VXLAN local tunneling.
|
# we need a fix for VXLAN local tunneling.
|
||||||
if [[ "$VENV" =~ "dsvm-fullstack" ]]; then
|
if [[ "$VENV" =~ "dsvm-fullstack" ]]; then
|
||||||
|
if is_ubuntu && [ ${DISTRO} == "xenial" ]; then
|
||||||
# The OVS_BRANCH variable is used by git checkout. In the case below,
|
# The OVS_BRANCH variable is used by git checkout. In the case below,
|
||||||
# we use openvswitch release 2.9.3 that contains a fix for usage of
|
# we use openvswitch release 2.9.3 that contains a fix for usage of
|
||||||
# VXLAN tunnels on a single node (ovs repository commit
|
# VXLAN tunnels on a single node (ovs repository commit
|
||||||
# 741f47cf35df2bfc7811b2cff75c9bb8d05fd26f). This can be dropped once
|
# 741f47cf35df2bfc7811b2cff75c9bb8d05fd26f). This can be dropped once
|
||||||
# we switch to Ubuntu Bionic nodes, where kernel has the fix
|
# we switch to Ubuntu Bionic nodes, where kernel has the fix
|
||||||
OVS_BRANCH="v2.9.3"
|
OVS_BRANCH="v2.9.3"
|
||||||
compile_ovs_kernel_module
|
compile_ovs_kernel_module
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# prepare base environment for ./stack.sh
|
# prepare base environment for ./stack.sh
|
||||||
|
|
Loading…
Reference in New Issue