Fix devstack to support the new pulled out swift3

Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
This commit is contained in:
Joe Gordon 2012-05-24 14:11:01 -07:00 committed by Chmouel Boudjnah
parent 4ffbe0bd60
commit 42b1aa9c13
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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