From fbedb897bd03a109a3e7a5a34c91ec1fc5c28f74 Mon Sep 17 00:00:00 2001 From: Pawel Kaminski Date: Fri, 24 Jan 2020 14:43:18 -0500 Subject: [PATCH] test/openstack: Change http to https for cirros server. Extend build timeout, enable image volume cache and change max spdk queue depth on local.conf. Change-Id: I1dcacd8fbfbfabcba1d017d950dd09ce8ee68076 Signed-off-by: Pawel Kaminski Signed-off-by: Maciej Wawryk Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/762 Tested-by: SPDK CI Jenkins Reviewed-by: Maciej Szwed Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- scripts/vagrant/local.conf | 7 ++++--- test/openstack/install_devstack.sh | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/vagrant/local.conf b/scripts/vagrant/local.conf index 1449e1563..f392d4bbb 100644 --- a/scripts/vagrant/local.conf +++ b/scripts/vagrant/local.conf @@ -19,11 +19,11 @@ public_interface=eth0 [[test-config|$TEMPEST_CONFIG]] [compute] -build_timeout = 1200 +build_timeout = 1500 fixed_network_name = net0 [volume] -build_timeout = 1200 +build_timeout = 1500 [validation] ssh_timeout = 396 @@ -47,4 +47,5 @@ target_helper = spdk-nvmeof target_prefix = nqn.2014-08.org.spdk volume_driver = cinder.volume.drivers.spdk.SPDKDriver volume_backend_name = SPDK -spdk_max_queue_depth = 32 +spdk_max_queue_depth = 64 +image_volume_cache_enabled = True diff --git a/test/openstack/install_devstack.sh b/test/openstack/install_devstack.sh index c6cdb3a07..2b90ac7af 100755 --- a/test/openstack/install_devstack.sh +++ b/test/openstack/install_devstack.sh @@ -44,6 +44,7 @@ fi cp $rootdir/scripts/vagrant/local.conf /opt/stack/devstack/local.conf cd /opt/stack/devstack +sudo sed -i "s|http://download.cirros-cloud.net|https://download.cirros-cloud.net|g" stackrc su -c "./stack.sh" -s /bin/bash stack source openrc admin admin openstack volume type create SPDK --public