From 2e4bc1edf70bd7e14fac42701913cc3bb345c8ce Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Fri, 8 Oct 2021 10:10:39 +0200 Subject: [PATCH] test/openstack: Use stable branch for the requirements repo As of recently, devstack requirements are broken - the suds-jurko requirement doesn't work with a particular version of setuptools needed by the latest devstack. Since this breaks installation on ALL distros take a step back and use specific, stable branch for the requirements: xena is the upcoming release hence it should be as close as possible to master. Signed-off-by: Michal Berger Change-Id: I1133cd64413ec4fb794fac932bd3ffe6ac81dd9c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9794 Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris --- test/openstack/install_devstack.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/openstack/install_devstack.sh b/test/openstack/install_devstack.sh index f19791cb4..c4c7b1cfc 100755 --- a/test/openstack/install_devstack.sh +++ b/test/openstack/install_devstack.sh @@ -44,6 +44,8 @@ r=0 until ((++r >= 20)); do if [[ $branch == "master" ]]; then git clone --depth 1 https://opendev.org/openstack-dev/devstack /opt/stack/devstack && break + # FIXME: Workaround for broken requirements with suds-jurko<->setuptools + export REQUIREMENTS_BRANCH=stable/xena else git clone --depth 1 https://opendev.org/openstack-dev/devstack -b "stable/$branch" /opt/stack/devstack && break fi