summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/launch.yml
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-01-07 18:10:41 +0100
committerLénaïc Huard <lhuard@amadeus.com>2016-01-08 15:44:51 +0100
commit87ad9f9c9c3b60d176e0633ab0f1d9a126ae83c3 (patch)
tree2a7faaad95a00d83ecc66ca28a3f662cdf0128d2 /playbooks/openstack/openshift-cluster/launch.yml
parent87d94dfb40f92e8858f15135b9484a1e27fd2e22 (diff)
downloadopenshift-87ad9f9c9c3b60d176e0633ab0f1d9a126ae83c3.tar.gz
openshift-87ad9f9c9c3b60d176e0633ab0f1d9a126ae83c3.tar.bz2
openshift-87ad9f9c9c3b60d176e0633ab0f1d9a126ae83c3.tar.xz
openshift-87ad9f9c9c3b60d176e0633ab0f1d9a126ae83c3.zip
Increase OpenStack stack creation/deletion timeout
Diffstat (limited to 'playbooks/openstack/openshift-cluster/launch.yml')
-rw-r--r--playbooks/openstack/openshift-cluster/launch.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/openstack/openshift-cluster/launch.yml b/playbooks/openstack/openshift-cluster/launch.yml
index fdcb77acc..76cc64a73 100644
--- a/playbooks/openstack/openshift-cluster/launch.yml
+++ b/playbooks/openstack/openshift-cluster/launch.yml
@@ -29,6 +29,7 @@
- name: Create or Update OpenStack Stack
command: 'heat {{ heat_stack_action }} -f {{ openstack_infra_heat_stack }}
+ --timeout 3 --enable-rollback
-P cluster_env={{ cluster_env }}
-P cluster_id={{ cluster_id }}
-P cidr={{ openstack_network_cidr }}
@@ -56,7 +57,7 @@
register: stack_show_status_result
until: stack_show_status_result.stdout not in ['CREATE_IN_PROGRESS', 'UPDATE_IN_PROGRESS']
retries: 30
- delay: 1
+ delay: 5
failed_when: stack_show_status_result.stdout not in ['CREATE_COMPLETE', 'UPDATE_COMPLETE']
- name: Read OpenStack Stack outputs