Switch off glance->swift in rally+py35 tests
Swift does not currently work on py35 and is a work in progress. So for now, we should switch off the glance upload to swift for images. Change-Id: Idfc15ecbf5c109537d0715be216c84e6c369efd1
This commit is contained in:
parent
cb60cf8e39
commit
20859df2c0
|
@ -169,6 +169,17 @@
|
|||
}}
|
||||
export -f post_test_hook
|
||||
|
||||
if [[ "$DEVSTACK_GATE_USE_PYTHON3" = "True" ]]; then
|
||||
# Switch off glance->swift communication as swift fails under py3.x
|
||||
function pre_test_hook {{
|
||||
local localconf=$BASE/new/devstack/local.conf
|
||||
echo "[[post-config|\$GLANCE_API_CONF]]" >> $localconf
|
||||
echo "[glance_store]" >> $localconf
|
||||
echo "default_store=file" >> $localconf
|
||||
}}
|
||||
export -f pre_test_hook
|
||||
fi
|
||||
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue