From 88e93237928771a98f6ca90299a5c391db45b5b9 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Tue, 18 Oct 2016 18:34:37 +0800 Subject: [PATCH] Bump retries in starting nova-libvirt to 5 retries: 1 won't really retry in part of ansible release. Bumping the number to 5 ensure it works as expected Change-Id: I9f131001bd96ed33832b42cc8143327f249e916a Closes-Bug: #1634401 --- ansible/roles/nova/tasks/start_compute.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/nova/tasks/start_compute.yml b/ansible/roles/nova/tasks/start_compute.yml index 091b164cc6..1ba3c47c80 100644 --- a/ansible/roles/nova/tasks/start_compute.yml +++ b/ansible/roles/nova/tasks/start_compute.yml @@ -19,9 +19,9 @@ - "nova_compute:/var/lib/nova/" - "nova_libvirt_qemu:/etc/libvirt/qemu" register: start_nova_libvirt_container - # NOTE(Jeffrey4l): retry 1 to remove nova_libvirt container because when + # NOTE(Jeffrey4l): retry 5 to remove nova_libvirt container because when # guests running, nova_libvirt will raise error even though it is removed. - retries: 1 + retries: 5 until: start_nova_libvirt_container|success when: inventory_hostname in groups['compute']