From c6fc656592dce9747bc402126b5591f89b818276 Mon Sep 17 00:00:00 2001 From: Raoul Scarazzini Date: Wed, 21 Mar 2018 12:40:26 -0400 Subject: [PATCH] Increase wait timeout for instances to come up There were some problems with the previous one minute startup, sometimes we caught failures just for a few seconds. Increasing to five minutes gives us a reasonable amount of time to determine whether or not are there problems. Change-Id: Ibdcec51347e1a816b019638a2b9a69e390f15eac --- roles/validate-ha/tasks/heat-validation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/validate-ha/tasks/heat-validation.yml b/roles/validate-ha/tasks/heat-validation.yml index 66b83b4..bf81576 100644 --- a/roles/validate-ha/tasks/heat-validation.yml +++ b/roles/validate-ha/tasks/heat-validation.yml @@ -26,11 +26,11 @@ jq --raw-output '.outputs[] | select( .output_key == "server_public_ip") | .output_value' register: instance_ip -- name: Wait up to one minute for the instance to be reachable +- name: Wait up to five minutes for the instance to be reachable wait_for: host: "{{ instance_ip.stdout }}" port: 22 - timeout: 60 + timeout: 300 - name: Clean the created stack shell: |