From 42b1aa9c136bd738c32075b2098cebdfa3a886f8 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 24 May 2012 14:11:01 -0700 Subject: [PATCH] Fix devstack to support the new pulled out swift3 Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a --- files/swift/proxy-server.conf | 2 +- stack.sh | 3 +++ stackrc | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/files/swift/proxy-server.conf b/files/swift/proxy-server.conf index 2fe20f57f0..84bf9cd504 100644 --- a/files/swift/proxy-server.conf +++ b/files/swift/proxy-server.conf @@ -40,7 +40,7 @@ admin_user = %SERVICE_USERNAME% 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 340d4a8beb..eb734c3ea4 100755 --- a/stack.sh +++ b/stack.sh @@ -214,6 +214,7 @@ KEYSTONECLIENT_DIR=$DEST/python-keystoneclient 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 @@ fi 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 @@ if is_service_enabled key g-api n-api swift; then 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 41a399a247..98e6bd48e2 100644 --- a/stackrc +++ b/stackrc @@ -16,6 +16,9 @@ NOVA_BRANCH=master # 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