From 95503c8d3aa79e64be4a68348436f3c64dc8464e Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Fri, 6 Oct 2017 09:50:30 +0200 Subject: If the VM starts quickly, this check might fail Sometimes VM starts very quickly and then it takes longer for this service to come up Change-Id: Ibc4ea47eb0b4b6655e338d1b85e6ed14e61d0064 Signed-off-by: Manuel Buil --- sfc/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfc') diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py index 65b491be..ce57ad04 100644 --- a/sfc/lib/utils.py +++ b/sfc/lib/utils.py @@ -282,7 +282,7 @@ def assign_floating_ip(nova_client, neutron_client, instance_id): return floating_ip -def start_http_server(ip, iterations_check=5): +def start_http_server(ip, iterations_check=10): """ Start http server on a given machine. Wait until the process exists and until the port is up -- cgit 1.2.3-korg