Extend timeout to cope with systems under load

Extending the Ansible and rebuild timeouts in order to better cope
with systems under load, primarily in virtual testing environments.

Change-Id: I258ab59c8fd7b2acbede43c71c1d5c7184b93c91
This commit is contained in:
Julia Kreger 2014-12-18 13:13:59 -05:00 committed by stephane
parent 679797cb1d
commit 88efc04db6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,3 @@
[defaults]
timeout = 120
timeout = 300
pipelining = True

View File

@ -18,6 +18,8 @@
instance_id: "{{ instance_id }}"
image_id: "{{ rebuild_image_id }}"
preserve_ephemeral: true
wait: "yes"
wait_for: 900
delegate_to: localhost
when: instance_image_id != rebuild_image_id and force_rebuild is not defined
- name: "Call nova_rebuild if rebuild is mandated"
@ -25,5 +27,7 @@
instance_id: "{{ instance_id }}"
image_id: "{{ rebuild_image_id }}"
preserve_ephemeral: true
wait: "yes"
wait_for: 900
delegate_to: localhost
when: force_rebuild is defined