Skip to content
Snippets Groups Projects
Commit 61e32bb1 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Revert "Remove the waiting for ironic-api to be accessible""

parents 9a141eb1 4a6050a3
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,25 @@
when:
- kolla_action != "config"
# Due to a bug in the ironic client, ironic inspector fails to start if ironic
# API is not accessible. https://storyboard.openstack.org/#!/story/2006393
# TODO(mgoddard): remove this task when
# https://storyboard.openstack.org/#!/story/2006393 has been fixed.
- name: Wait for ironic-api to be accessible
become: true
kolla_toolbox:
module_name: uri
module_args:
url: "{{ ironic_internal_endpoint }}"
register: result
until: result is success
retries: 12
delay: 5
listen: Restart ironic-api container
when:
- kolla_action != "config"
run_once: True
- name: Restart ironic-inspector container
vars:
service_name: "ironic-inspector"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment