From be60e830ec92c65edfab03d21e80a2668926a3ee Mon Sep 17 00:00:00 2001 From: xiaojueguan Date: Mon, 6 Jan 2020 16:28:28 +0800 Subject: [PATCH] Fix failure of installing magnum-ui plugin with devstack Change-Id: I97fb280d2903a9e3277f5dc2fd96fd3ecde513d9 Closes-Bug: 1858392 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index ce76b2f3..5912b020 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -19,7 +19,7 @@ function configure_magnum_ui { # NOTE: If locale directory does not exist, compilemessages will fail, # so check for an existence of locale directory is required. if [ -d ${MAGNUM_UI_DIR}/magnum_ui/locale ]; then - (cd ${MAGNUM_UI_DIR}/magnum_ui; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages) + (cd ${MAGNUM_UI_DIR}/magnum_ui; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages) fi }