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:
parent
96e6d7e403
commit
2b517d8838
@ -105,7 +105,7 @@ function init_mistral {
|
|||||||
|
|
||||||
# install_mistral - Collect source and prepare
|
# install_mistral - Collect source and prepare
|
||||||
function install_mistral {
|
function install_mistral {
|
||||||
setup_develop $MISTRAL_DIR -e
|
setup_develop $MISTRAL_DIR
|
||||||
|
|
||||||
# installing python-nose.
|
# installing python-nose.
|
||||||
real_install_package python-nose
|
real_install_package python-nose
|
||||||
@ -118,7 +118,7 @@ function install_mistral {
|
|||||||
|
|
||||||
function _install_mistraldashboard {
|
function _install_mistraldashboard {
|
||||||
git_clone $MISTRAL_DASHBOARD_REPO $MISTRAL_DASHBOARD_DIR $MISTRAL_DASHBOARD_BRANCH
|
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
|
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
|
if [ ! "$tags" = "" ]; then
|
||||||
git --git-dir=$MISTRAL_PYTHONCLIENT_DIR/.git tag -d $tags
|
git --git-dir=$MISTRAL_PYTHONCLIENT_DIR/.git tag -d $tags
|
||||||
fi
|
fi
|
||||||
setup_develop $MISTRAL_PYTHONCLIENT_DIR -e
|
setup_develop $MISTRAL_PYTHONCLIENT_DIR
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user