From 498b0258c50c5c1a7759a611b967a798a0a4cdd0 Mon Sep 17 00:00:00 2001 From: Bodo Petermann Date: Thu, 5 Dec 2024 11:26:44 +0100 Subject: [PATCH] Fix setting up functional test environment neutron-functional tests started to fail after a change in devstack [1]. Function setup_devstack_virtualenv now expects that the variable PYTHON is set. Call install_python (as stack.sh would) to make sure python is installed and the PYTHON env variable is set. [1] https://review.opendev.org/c/openstack/devstack/+/936961 Closes-Bug: #2091093 Change-Id: I4f90b91abe28436b39f8429a091ce4247286352f --- tools/configure_for_func_testing.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/configure_for_func_testing.sh b/tools/configure_for_func_testing.sh index 2235a29ca0c..1489e3789e5 100755 --- a/tools/configure_for_func_testing.sh +++ b/tools/configure_for_func_testing.sh @@ -103,6 +103,7 @@ function _init { sudo mkdir -p /opt/stack/data sudo chown -R $STACK_USER /opt/stack/data source $DEVSTACK_PATH/inc/python + install_python setup_devstack_virtualenv GetDistro