Fix devstack to support the new pulled out swift3
Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
diff --git a/files/swift/proxy-server.conf b/files/swift/proxy-server.conf
index 2fe20f5..84bf9cd 100644
--- a/files/swift/proxy-server.conf
+++ b/files/swift/proxy-server.conf
@@ -40,7 +40,7 @@
admin_password = %SERVICE_PASSWORD%
[filter:swift3]
-use = egg:swift#swift3
+use = egg:swift3#middleware
[filter:tempauth]
use = egg:swift#tempauth
diff --git a/stack.sh b/stack.sh
index 340d4a8..eb734c3 100755
--- a/stack.sh
+++ b/stack.sh
@@ -214,6 +214,7 @@
OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
NOVNC_DIR=$DEST/noVNC
SWIFT_DIR=$DEST/swift
+SWIFT3_DIR=$DEST/swift3
QUANTUM_DIR=$DEST/quantum
QUANTUM_CLIENT_DIR=$DEST/python-quantumclient
MELANGE_DIR=$DEST/melange
@@ -673,6 +674,7 @@
if is_service_enabled swift; then
# storage service
git_clone $SWIFT_REPO $SWIFT_DIR $SWIFT_BRANCH
+ git_clone $SWIFT3_REPO $SWIFT3_DIR $SWIFT3_BRANCH
fi
if is_service_enabled g-api n-api; then
# image catalog service
@@ -716,6 +718,7 @@
fi
if is_service_enabled swift; then
cd $SWIFT_DIR; sudo python setup.py develop
+ cd $SWIFT3_DIR; sudo python setup.py develop
fi
if is_service_enabled g-api n-api; then
cd $GLANCE_DIR; sudo python setup.py develop
diff --git a/stackrc b/stackrc
index 41a399a..98e6bd4 100644
--- a/stackrc
+++ b/stackrc
@@ -16,6 +16,9 @@
# storage service
SWIFT_REPO=https://github.com/openstack/swift.git
SWIFT_BRANCH=master
+SWIFT3_REPO=https://github.com/fujita/swift3.git
+SWIFT3_BRANCH=master
+
# image catalog service
GLANCE_REPO=https://github.com/openstack/glance.git