Fix the agent install to use pip -U

The previous patch that switched the agent install to use pip install
did not include the -U switch or the upper constraints flag.
This patch adds those to the amphora-agent element.

Change-Id: If907909704fcff4c7be10690eb4f50d0ba54b1c1
This commit is contained in:
Michael Johnson 2016-12-12 22:14:23 +00:00 committed by Lubosz "diltram" Kosnik
parent 835b3c5be5
commit 34a47353f0
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ fi
set -eu
set -o pipefail
pip install /opt/amphora-agent
pip install -U -c /opt/upper-constraints.txt /opt/amphora-agent
mkdir /etc/octavia
# we assume certs, etc will come in through the config drive

View File

@ -1,2 +1,3 @@
# This is temporary until we have a pip package
amphora-agent git /opt/amphora-agent https://git.openstack.org/openstack/octavia
upper-constraints file /opt/upper-constraints.txt https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt