From e6a34e362b9fda7df0bdbe479d7904522e2d29be Mon Sep 17 00:00:00 2001 From: chiisaihayashi Date: Mon, 1 Feb 2016 16:31:05 +0900 Subject: [PATCH] kilo: stack.sh error: grep: /opt/stack//requirements/global-requirements.txt: No such file or directory stack.sh always stops by the following message. [ERROR] /home/user/devstack/inc/python:142 Can't find package os-testr in requirements To fix this issue, requirements should be put before installing os-testr. Change-Id: I08a497f01d2114cb1b17dc4fca7e182366de1148 Closes-Bug: #1539748 --- stack.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stack.sh b/stack.sh index ae14c80c68..db5e815f0a 100755 --- a/stack.sh +++ b/stack.sh @@ -679,6 +679,12 @@ fi # OpenStack uses a fair number of other projects. + +# Bring down global requirements before any use of pip_install. This is +# necessary to ensure that the constraints file is in place before we +# attempt to apply any constraints to pip installs. +git_clone $REQUIREMENTS_REPO $REQUIREMENTS_DIR $REQUIREMENTS_BRANCH + # Install package requirements # Source it so the entire environment is available echo_summary "Installing package prerequisites"