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
This commit is contained in:
Jeffrey Zhang 2016-10-18 18:34:37 +08:00 committed by Jeffrey Zhang
parent ba1eb03565
commit 88e9323792
1 changed files with 2 additions and 2 deletions

View File

@ -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']