From fda9df8795d422679387b2ea8b20556fe4116645 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 22 May 2012 10:27:08 +0000 Subject: [PATCH] Install python-swiftclient when installing swift. - Fixes bug 1002789. Change-Id: I8ee54652c6a38c7c226c820366897e53807f664d --- stack.sh | 5 +++++ stackrc | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/stack.sh b/stack.sh index 3d93de47b6..0d90baea31 100755 --- a/stack.sh +++ b/stack.sh @@ -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 diff --git a/stackrc b/stackrc index 98e6bd48e2..3c20c8741a 100644 --- a/stackrc +++ b/stackrc @@ -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