From 9f1705541277faf0b62b77b6033aca5b70b80219 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Thu, 12 Jan 2017 16:53:42 -0600 Subject: [PATCH] Make py35 devstack gate working Change-Id: I79c6ec6c5c59897246515983da726c0fbca881bf --- devstack/plugin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index bab02a3..1e09339 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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"