[Murano-Apps] Fix Rally deployment by Murano

This small patch fixes a bug in install_rally.sh, which actually
was caught in Murano.

While installing Rally, script updates PIP, so new pip location
can differ from previous one, but bash cache is unchanged, so
bash fails to run `pip' and installation fails.

Change-Id: I3bd92258c6eb29f965a977f3d3e6034cb2bd3754
Closes-Bug: #1490586
This commit is contained in:
Alexander Maretskiy 2015-09-24 19:18:45 +03:00
parent 800d1cb019
commit 1f384977ec

View File

@ -759,8 +759,10 @@ install_db_connector
# Install rally
cd "$SOURCEDIR"
# Get latest available pip
# Get latest available pip and reset shell cache
pip install -i $BASE_PIP_URL -U 'pip'
hash -r
# Install dependencies
pip install -i $BASE_PIP_URL pbr 'tox<=1.6.1'
# Uninstall possible previous version