Add swiftclient library to swift

The swift-dispersion-populate/report tools in swift require
keystone authentication. In order to do this they need to import
the function "get_auth" from swiftclient. Therefore, swiftclient
is a requirement for running these tools and needs to be installed
because, similar to keystoneclient, it is not included in swift's
requirements.txt.

Change-Id: I9d486f8f484e98267caf24720faa49087582b690
This commit is contained in:
Lorcan 2014-05-23 15:28:24 +01:00
parent 45ff3c1a87
commit 94a6998a9d
1 changed files with 2 additions and 1 deletions

View File

@ -5,8 +5,9 @@ set -eux
# bug #1293812 : Avoid easy_install triggering on pbr.
$SWIFT_VENV_DIR/bin/pip install -U 'pbr>=0.5.21,<1.0'
# This is only needed if using keystone auth, so isn't in requirements.txt
# These are only needed if using keystone auth, so are not in requirements.txt
$SWIFT_VENV_DIR/bin/pip install python-keystoneclient
$SWIFT_VENV_DIR/bin/pip install python-swiftclient
os-svc-daemon -i "$SWIFT_VENV_DIR" swift-proxy swift swift-proxy-server "/etc/swift/proxy-server.conf"