From b6c24ef29e5d3145de10b610e0ecc5dc9ce36bbc Mon Sep 17 00:00:00 2001 From: Valeriy Ponomaryov Date: Wed, 13 May 2015 18:02:23 +0300 Subject: [PATCH] Increase quota for share networks in manila installation Functional tests create a lot of share networks and may cause exceedance of default limit. So, increase it, to be able to run tests not restricting amount of threads. Change-Id: I43ffdc54f924020bed876927bbd693593de726b2 --- contrib/ci/pre_test_hook.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/ci/pre_test_hook.sh b/contrib/ci/pre_test_hook.sh index 41248ef78..5de501bec 100644 --- a/contrib/ci/pre_test_hook.sh +++ b/contrib/ci/pre_test_hook.sh @@ -16,3 +16,8 @@ # Install manila devstack integration cp -r $BASE/new/manila/contrib/devstack/* $BASE/new/devstack + +localrc_path=$BASE/new/devstack/localrc + +# Set big quota for share networks to avoid limit exceedances +echo "MANILA_OPTGROUP_DEFAULT_quota_share_networks=50" >> $localrc_path