Browse Source

Fix Tempest installtion on system wide for stable branch

INSTALL_TEMPEST flag enable to install Tempest by default on
devstack env which is meant for using on master gate only and has
to be false for stable branch. On stable branch master Tempest
on system wide can fail to install for various reason like constraint
etc. That is why we install Tempest on venv always.

This started failing the py2 jobs on stable/train gate[1] where
heat devstack plugin try to install Tempest on system wide also which try to
use py2 env (Tempest is py3 only now) because jobs is py2 and fail.

We need to set up the Tempest on system wide based on  INSTALL_TEMPEST flag
which is set to false on all stable branch to:
- https://review.opendev.org/#/q/I60949fb735c82959fb2cfcb6aeef9e33fb0445b6

[1] https://zuul.opendev.org/t/openstack/build/398d906e73724ee6b91d8f32babc5035/log/logs/devstacklog.txt#37969
- https://review.opendev.org/#/c/717428/
- https://review.opendev.org/#/c/717529/

Change-Id: I13153881223c3a585052a94651b9ff082a75b283
tags/12.1.0^0
Ghanshyam Mann 3 months ago
committed by Lee Yarwood
parent
commit
8f1bcbaf84
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      devstack/plugin.sh

+ 3
- 1
devstack/plugin.sh View File

@@ -18,7 +18,9 @@ if is_heat_enabled; then

elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
if is_service_enabled tempest; then
setup_develop $TEMPEST_DIR
if [[ "$INSTALL_TEMPEST" == "True" ]]; then
setup_develop $TEMPEST_DIR
fi
fi

elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then


Loading…
Cancel
Save