From: wenjuan dong Date: Tue, 8 Aug 2017 10:09:46 +0000 (+0000) Subject: Merge "fix the bug: congress server can't be started" X-Git-Tag: opnfv-5.0.RC1~30 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=a126fdaac45c8b0459763c89d4e69ac7e7d5172d;hp=5faecd7765f9105d8c43951335fe0220ea2153ec;p=doctor.git Merge "fix the bug: congress server can't be started" --- diff --git a/tests/run.sh b/tests/run.sh index 5c922265..abdad58c 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -478,6 +478,13 @@ cleanup() { done } +setup_python_packages() { + sudo pip install flask==0.10.1 + command -v openstack || sudo pip install python-openstackclient==2.3.0 + command -v ceilometer || sudo pip install python-ceilometerclient==2.6.2 + command -v congress || sudo pip install python-congressclient==1.5.0 +} + # Main process if [[ $PYTHON_ENABLE == [Tt]rue ]]; then @@ -499,6 +506,8 @@ git log --oneline -1 || true # ignore even you don't have git installed trap cleanup EXIT +setup_python_packages + source $TOP_DIR/functions-common source $TOP_DIR/lib/installer source $TOP_DIR/lib/inspector