From 785532d5572f341c86b69f8463dfc8646d30a756 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 16 Feb 2021 13:04:00 -0600 Subject: [PATCH] Add SITE_PACKAGES variable to horizon extend_start This change adds a missing export. Without this change the horizon dashboards are all broken becuase the functions are able to correctly copy the dashboards plugins to the appropriate locations. Signed-off-by: Kevin Carter Change-Id: I5fa3bb41403620e8bd9521e3c0e61570e202148f (cherry picked from commit 8daeeef06733500efff45faf8f6a44ba0e48ecad) --- container-images/kolla/horizon/extend_start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/container-images/kolla/horizon/extend_start.sh b/container-images/kolla/horizon/extend_start.sh index 5c34f56b2..67fddeefb 100644 --- a/container-images/kolla/horizon/extend_start.sh +++ b/container-images/kolla/horizon/extend_start.sh @@ -5,6 +5,7 @@ set -o errexit FORCE_GENERATE="${FORCE_GENERATE}" HASH_PATH=/var/lib/kolla/.settings.md5sum.txt MANAGE_PY="/usr/bin/python3 /usr/bin/manage.py" +SITE_PACKAGES="/usr/lib/python${KOLLA_DISTRO_PYTHON_VERSION:-3}/site-packages" if [[ -f /etc/openstack-dashboard/custom_local_settings ]]; then CUSTOM_SETTINGS_FILE="${SITE_PACKAGES}/openstack_dashboard/local/custom_local_settings.py"