Browse Source

Merge "Devstack: Install six via pip"

tags/neutron-merge
Zuul 2 weeks ago
parent
commit
40db857efa
2 changed files with 7 additions and 8 deletions
  1. +7
    -3
      devstack/lib/ovn
  2. +0
    -5
      networking_ovn/tests/contrib/gate_hook.sh

+ 7
- 3
devstack/lib/ovn View File

@@ -108,6 +108,13 @@ function _reload_ovs_kernel_modules {
function _compile_ovs {
local build_modules=$1

# Install the dependencies
install_package autoconf automake libtool gcc patch make
# TODO(flaviof): Would prefer to use pip_install wrapper, but that is not
# useable right now because REQUIREMENTS_DIR variable is hard coded in
# starckrc
sudo pip3 install six

_prepare_for_ovs_compilation $build_modules

pushd $DEST/$OVS_REPO_NAME
@@ -146,9 +153,6 @@ function compile_ovn {
local prefix=$2
local localstatedir=$3

# Install the dependencies
install_package autoconf automake libtool gcc patch make python3-six

# First, compile OVS
_compile_ovs $build_modules


+ 0
- 5
networking_ovn/tests/contrib/gate_hook.sh View File

@@ -19,11 +19,6 @@ case $VENV in
source $NEUTRON_PATH/devstack/lib/ovs
source $NETWORKING_OVN_PATH/devstack/lib/ovn

# NOTE(numans) Functional tests after upgrade to xenial in
# the CI are breaking because of missing six package.
# Installing the package for now as a workaround
# https://bugs.launchpad.net/networking-ovn/+bug/1648670
sudo pip install six
# Install SSL dependencies here for now as a workaround
# https://bugs.launchpad.net/networking-ovn/+bug/1696713
if is_fedora ; then

Loading…
Cancel
Save