diff options
author | Manuel Buil <mbuil@suse.com> | 2017-10-06 09:50:30 +0200 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2017-10-06 09:50:30 +0200 |
commit | 95503c8d3aa79e64be4a68348436f3c64dc8464e (patch) | |
tree | c9915557a67eb2e0ba5b6f733e2e4d8cf5458952 | |
parent | d202010d4edc234e374e5d82eddd43a27baa835f (diff) |
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 <mbuil@suse.com>
-rw-r--r-- | sfc/lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |