Actually Disable Swift Service in Rally DSVM jobs (when needed)

Use disable_service to disable Swift when it's not enabled
This is important because Rally support py-35 which is not supported by Swift

Change-Id: I25bea6c2139a5dc818d3df70f227e1d3870a38ad
This commit is contained in:
Boris Pavlovic 2017-07-24 13:43:58 -07:00 committed by Boris Pavlovic
parent e761821b34
commit 43504c46e9
1 changed files with 7 additions and 1 deletions

View File

@ -90,8 +90,14 @@
ENABLED_SERVICES+=n-api,n-crt,n-cpu,n-sch,n-cond,
ENABLED_SERVICES+=q-qos,
if [ $DEVSTACK_GATE_SWIFT -ne 1 ]; then
if [ $DEVSTACK_GATE_SWIFT -ne 1 ];
then
ENABLED_SERVICES+=s-proxy,s-account,s-container,s-object,
else
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
fi
if [ $DEVSTACK_GATE_HEAT -ne 0 ]; then