Fix devstack to support the new pulled out swift3
Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
This commit is contained in:
parent
4ffbe0bd60
commit
42b1aa9c13
@ -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
|
||||
|
3
stack.sh
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user