Make py35 devstack gate working

Change-Id: I79c6ec6c5c59897246515983da726c0fbca881bf
This commit is contained in:
Hongbin Lu 2017-01-12 16:53:42 -06:00
parent 19a8114ef9
commit 9f17055412
1 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,11 @@ if is_service_enabled fuxi; then
# In case iSCSI client is used
sudo ln -s /lib/udev/scsi_id /usr/local/bin || true
if [[ "$USE_PYTHON3" = "True" ]]; then
# Switch off glance->swift communication as swift fails under py3.x
iniset /etc/glance/glance-api.conf glance_store default_store file
fi
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
run_process fuxi "sudo fuxi-server --config-file $FUXI_CONFIG"