Skip to content

Commit fda9df8

Browse files
committed
Install python-swiftclient when installing swift.
- Fixes bug 1002789. Change-Id: I8ee54652c6a38c7c226c820366897e53807f664d
1 parent f07d9b1 commit fda9df8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

stack.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
215215
NOVNC_DIR=$DEST/noVNC
216216
SWIFT_DIR=$DEST/swift
217217
SWIFT3_DIR=$DEST/swift3
218+
SWIFTCLIENT_DIR=$DEST/python-swiftclient
218219
QUANTUM_DIR=$DEST/quantum
219220
QUANTUM_CLIENT_DIR=$DEST/python-quantumclient
220221
MELANGE_DIR=$DEST/melange
@@ -684,6 +685,9 @@ fi
684685
if is_service_enabled swift; then
685686
# storage service
686687
git_clone $SWIFT_REPO $SWIFT_DIR $SWIFT_BRANCH
688+
# storage service client and and Library
689+
git_clone $SWIFTCLIENT_REPO $SWIFTCLIENT_DIR $SWIFTCLIENT_BRANCH
690+
# swift3 middleware to provide S3 emulation to Swift
687691
git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
688692
fi
689693
if is_service_enabled g-api n-api; then
@@ -728,6 +732,7 @@ if is_service_enabled key g-api n-api swift; then
728732
fi
729733
if is_service_enabled swift; then
730734
cd $SWIFT_DIR; setup_develop
735+
cd $SWIFTCLIENT_DIR; setup_develop
731736
cd $SWIFT3_DIR; setup_develop
732737
fi
733738
if is_service_enabled g-api n-api; then

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ SWIFT3_REPO=https://github.com/fujita/swift3.git
2020
SWIFT3_BRANCH=master
2121

2222

23+
# python swift client library
24+
SWIFTCLIENT_REPO=https://github.com/openstack/python-swiftclient
25+
SWIFTCLIENT_BRANCH=master
26+
2327
# image catalog service
2428
GLANCE_REPO=https://github.com/openstack/glance.git
2529
GLANCE_BRANCH=master

0 commit comments

Comments
 (0)