Skip to content

Commit 42b1aa9

Browse files
jogochmouel
authored andcommitted
Fix devstack to support the new pulled out swift3
Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
1 parent 4ffbe0b commit 42b1aa9

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

files/swift/proxy-server.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ admin_user = %SERVICE_USERNAME%
4040
admin_password = %SERVICE_PASSWORD%
4141

4242
[filter:swift3]
43-
use = egg:swift#swift3
43+
use = egg:swift3#middleware
4444

4545
[filter:tempauth]
4646
use = egg:swift#tempauth

stack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ KEYSTONECLIENT_DIR=$DEST/python-keystoneclient
214214
OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
215215
NOVNC_DIR=$DEST/noVNC
216216
SWIFT_DIR=$DEST/swift
217+
SWIFT3_DIR=$DEST/swift3
217218
QUANTUM_DIR=$DEST/quantum
218219
QUANTUM_CLIENT_DIR=$DEST/python-quantumclient
219220
MELANGE_DIR=$DEST/melange
@@ -673,6 +674,7 @@ fi
673674
if is_service_enabled swift; then
674675
# storage service
675676
git_clone $SWIFT_REPO $SWIFT_DIR $SWIFT_BRANCH
677+
git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
676678
fi
677679
if is_service_enabled g-api n-api; then
678680
# image catalog service
@@ -716,6 +718,7 @@ if is_service_enabled key g-api n-api swift; then
716718
fi
717719
if is_service_enabled swift; then
718720
cd $SWIFT_DIR; sudo python setup.py develop
721+
cd $SWIFT3_DIR; sudo python setup.py develop
719722
fi
720723
if is_service_enabled g-api n-api; then
721724
cd $GLANCE_DIR; sudo python setup.py develop

stackrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ NOVA_BRANCH=master
1616
# storage service
1717
SWIFT_REPO=https://github.com/openstack/swift.git
1818
SWIFT_BRANCH=master
19+
SWIFT3_REPO=https://github.com/fujita/swift3.git
20+
SWIFT3_BRANCH=master
21+
1922

2023
# image catalog service
2124
GLANCE_REPO=https://github.com/openstack/glance.git

0 commit comments

Comments
 (0)