Retry Keystone's default user role creation
Sometimes Ansible is faster running tasks that haproxy tagging Keystone services as UP. Keystone bootstrap uses SQL directly but the default user role creation requires the API, and because of that it may fail. Retry in case the backend is not yet available. Change-Id: I9dfc030bbf92ca0a3dcb008d55e9fa2055f900ec Closes-Bug: 1699096
This commit is contained in:
parent
ea5d1a581b
commit
ba5c430278
@ -15,4 +15,8 @@
|
||||
auth: "{{ '{{ openstack_keystone_auth }}' }}"
|
||||
module_extra_vars:
|
||||
openstack_keystone_auth: "{{ openstack_keystone_auth }}"
|
||||
register: default_role
|
||||
until: default_role|success
|
||||
retries: 10
|
||||
delay: 5
|
||||
run_once: True
|
||||
|
Loading…
Reference in New Issue
Block a user