From 8fc86893893685e828600e21ddba147b64f0adc3 Mon Sep 17 00:00:00 2001 From: jacky06 Date: Wed, 8 Jul 2020 23:15:13 +0800 Subject: [PATCH] Remove the waiting for ironic-api to be accessible The bug is fixed[1], releated task is unncessary. [1]: https://storyboard.openstack.org/#!/story/2006393 Depends-On: Ib62ca3ee4626084e5e9b90e93e4fa97938023457 Change-Id: I2553c3c4a6d3c82405c68c52db2e7585477b1dff --- ansible/roles/ironic/handlers/main.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ansible/roles/ironic/handlers/main.yml b/ansible/roles/ironic/handlers/main.yml index 458d648e1b..35fa73d021 100644 --- a/ansible/roles/ironic/handlers/main.yml +++ b/ansible/roles/ironic/handlers/main.yml @@ -30,25 +30,6 @@ 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"