Disable Swift When Running Barbican with Python 3.5

disable_python3_package did not work.  This patch
changes to the more popular disable_service call
to disable Swift when running devstack with Python 3.5.

Change-Id: Iab58f4b79a9120ec325f6b41376cc141a637fd02
This commit is contained in:
Dave McCowan 2017-03-27 12:09:38 -04:00
parent 2e06d98492
commit 83a3bae18a

View File

@ -21,7 +21,10 @@
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
if [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_python3_package swift"
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"
else
export DEVSTACK_GATE_USE_PYTHON3=False
fi