1
0
mirror of https://github.com/gryf/mistral-evacuate.git synced 2026-03-25 03:43:39 +01:00

Add retry policy to workflow

Signed-off-by: Dawid Deja <dawid.deja@intel.com>
This commit is contained in:
Dawid Deja
2016-02-19 14:45:25 +01:00
parent 2001a51130
commit 06f5537d49

View File

@@ -22,7 +22,13 @@ host-evacuate:
publish: publish:
filtered_vms: <% $.filter_vms %> filtered_vms: <% $.filter_vms %>
on-success: evacuate_vms on-success: evacuate_vms
retry:
delay: 5
count: 10
evacuate_vms: evacuate_vms:
with-items: vm in <% $.filtered_vms %> with-items: vm in <% $.filtered_vms %>
action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=<% $.on_shared_storage %> action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=<% $.on_shared_storage %>
retry:
delay: 5
count: 10