diff --git a/devstack/plugin.sh b/devstack/plugin.sh index bb0096ce..41a30d2c 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -3,7 +3,15 @@ MAGNUM_UI_DIR=$(cd $(dirname $BASH_SOURCE)/.. && pwd) function install_magnum_ui { + # NOTE(shu-mutou): workaround for devstack bug: 1540328 + # where devstack install 'test-requirements' but should not do it + # for magnum-ui project as it installs Horizon from url. + # Remove following two 'mv' commands when mentioned bug is fixed. + mv $MAGNUM_UI_DIR/test-requirements.txt $MAGNUM_UI_DIR/_test-requirements.txt + setup_develop ${MAGNUM_UI_DIR} + + mv $MAGNUM_UI_DIR/_test-requirements.txt $MAGNUM_UI_DIR/test-requirements.txt } function configure_magnum_ui {