Install python-swiftclient when installing swift.

- Fixes bug 1002789.

Change-Id: I8ee54652c6a38c7c226c820366897e53807f664d
This commit is contained in:
Chmouel Boudjnah 2012-05-22 10:27:08 +00:00
parent f07d9b1956
commit fda9df8795
2 changed files with 9 additions and 0 deletions

View File

@ -215,6 +215,7 @@ OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
NOVNC_DIR=$DEST/noVNC
SWIFT_DIR=$DEST/swift
SWIFT3_DIR=$DEST/swift3
SWIFTCLIENT_DIR=$DEST/python-swiftclient
QUANTUM_DIR=$DEST/quantum
QUANTUM_CLIENT_DIR=$DEST/python-quantumclient
MELANGE_DIR=$DEST/melange
@ -684,6 +685,9 @@ fi
if is_service_enabled swift; then
# storage service
git_clone $SWIFT_REPO $SWIFT_DIR $SWIFT_BRANCH
# storage service client and and Library
git_clone $SWIFTCLIENT_REPO $SWIFTCLIENT_DIR $SWIFTCLIENT_BRANCH
# swift3 middleware to provide S3 emulation to Swift
git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
fi
if is_service_enabled g-api n-api; then
@ -728,6 +732,7 @@ if is_service_enabled key g-api n-api swift; then
fi
if is_service_enabled swift; then
cd $SWIFT_DIR; setup_develop
cd $SWIFTCLIENT_DIR; setup_develop
cd $SWIFT3_DIR; setup_develop
fi
if is_service_enabled g-api n-api; then

View File

@ -20,6 +20,10 @@ SWIFT3_REPO=https://github.com/fujita/swift3.git
SWIFT3_BRANCH=master
# python swift client library
SWIFTCLIENT_REPO=https://github.com/openstack/python-swiftclient
SWIFTCLIENT_BRANCH=master
# image catalog service
GLANCE_REPO=https://github.com/openstack/glance.git
GLANCE_BRANCH=master