From 2b517d8838e1ebfa1a4ea45c7c2d92ee2c1076c4 Mon Sep 17 00:00:00 2001 From: Anastasia Kuznetsova Date: Wed, 11 May 2016 14:09:51 +0300 Subject: [PATCH] Fix mistral installation in devstack After pip upgrading following error has occured during mistral installation: Invalid requirement, parse error at "'[-e]'" I assume that this is because of extra '-e' flag that was passed in mistral script and that is redundant ('-e' flag will be added automatically in setup_develop function). Change-Id: Ifed16935b045c723881a9da157a8759eea421c2c --- devstack/plugin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index d3bd485c..173cf0a1 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -105,7 +105,7 @@ function init_mistral { # install_mistral - Collect source and prepare function install_mistral { - setup_develop $MISTRAL_DIR -e + setup_develop $MISTRAL_DIR # installing python-nose. real_install_package python-nose @@ -118,7 +118,7 @@ function install_mistral { function _install_mistraldashboard { git_clone $MISTRAL_DASHBOARD_REPO $MISTRAL_DASHBOARD_DIR $MISTRAL_DASHBOARD_BRANCH - setup_develop $MISTRAL_DASHBOARD_DIR -e + setup_develop $MISTRAL_DASHBOARD_DIR ln -fs $MISTRAL_DASHBOARD_DIR/_50_mistral.py.example $HORIZON_DIR/openstack_dashboard/local/enabled/_50_mistral.py } @@ -130,7 +130,7 @@ function install_mistral_pythonclient { if [ ! "$tags" = "" ]; then git --git-dir=$MISTRAL_PYTHONCLIENT_DIR/.git tag -d $tags fi - setup_develop $MISTRAL_PYTHONCLIENT_DIR -e + setup_develop $MISTRAL_PYTHONCLIENT_DIR fi }