Retry glance API sanity checks

Apparently this API takes a little while to get started and working.

Change-Id: I328929d596765d3597f4f868cbbe288b63130bca
This commit is contained in:
Clint Byrum 2018-02-23 12:18:02 -08:00
parent 5f28067d36
commit 42f7e25125

View File

@ -9,6 +9,10 @@
endpoint_type: "{{ openstack_interface }}" endpoint_type: "{{ openstack_interface }}"
delegate_to: "{{ groups['glance-api'][0] }}" delegate_to: "{{ groups['glance-api'][0] }}"
run_once: True run_once: True
register: img_create
retries: 10
delay: 3
until: img_create | success
when: kolla_enable_sanity_glance | bool when: kolla_enable_sanity_glance | bool
- name: Glance sanity check - cleanup - name: Glance sanity check - cleanup