From: Romanos Skiadas Date: Thu, 2 Mar 2017 14:58:28 +0000 (+0200) Subject: Set unlimited network and subnet quotas to fix CI X-Git-Tag: danube.2.RC1~30^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=a38877e38255693ffd46c8a574c8f3cc6b51189d;p=sdnvpn.git Set unlimited network and subnet quotas to fix CI Change-Id: I0804580fa5d89550911a5caf08dc00f9c9523bb1 JIRA: SDNVPN-100 Signed-off-by: Romanos Skiadas --- diff --git a/sdnvpn/test/functest/run_tests.py b/sdnvpn/test/functest/run_tests.py index 5ca7691..e828af3 100644 --- a/sdnvpn/test/functest/run_tests.py +++ b/sdnvpn/test/functest/run_tests.py @@ -10,6 +10,7 @@ import argparse import importlib +import os import sys import time import yaml @@ -42,6 +43,12 @@ def push_results(testname, start_time, end_time, criteria, details): def main(): + # Workaround for https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-100 + cmd_line = "neutron quota-update --subnet -1 --network -1" + logger.info("Setting subnet/net quota to unlimited : %s" % cmd_line) + cmd = os.popen(cmd_line) + output = cmd.read() + logger.debug(output) with open(COMMON_CONFIG.config_file) as f: config_yaml = yaml.safe_load(f)