From d60cba7a80ffe6bfb637fdc81e76fcda97530027 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 18 Oct 2024 19:30:46 +0900 Subject: [PATCH] devstack: Fix manage.py execution with GLOBAL_VENV We need to use the specific python path to run the command with all software installed in global virtualenv. Change-Id: I4d9c26e25851be0a955f4172a530eff266a89331 (cherry picked from commit 0fa798fe58bb3bed7f133112e1fa38c11cc18da7) (cherry picked from commit 2ea1a6e02559b750bd8ee61169bbbb3d7bc6aed6) --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 7cc95fc3f..771e13a50 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -131,7 +131,7 @@ function configure_designate { function configure_designatedashboard { # Compile message catalogs if [ -d ${DESIGNATEDASHBOARD_DIR}/designatedashboard/locale ]; then - (cd ${DESIGNATEDASHBOARD_DIR}/designatedashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages) + (cd ${DESIGNATEDASHBOARD_DIR}/designatedashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages) fi }