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
This commit is contained in:
Anastasia Kuznetsova 2016-05-11 14:09:51 +03:00
parent 96e6d7e403
commit 2b517d8838

View File

@ -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
}