Merge "[Fullstack] Don't compile ovs kernel module on Ubuntu Bionic"

This commit is contained in:
Zuul 2019-03-13 23:24:56 +00:00 committed by Gerrit Code Review
commit bf27f6e5ff
1 changed files with 9 additions and 8 deletions

View File

@ -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