From 8d646af3b522a9bb5de6e78a943e8153ed294e3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <radoslaw.piliszek@gmail.com>
Date: Thu, 29 Sep 2022 16:30:34 +0200
Subject: [PATCH] [ironic] Drop an extra wait

By the comment message, it should no longer be necessary to wait
at this stage and we can speed up the process a little bit.

Change-Id: Ia96bfa79aaad5fbd54a9f527702cca7a63616bf7
---
 ansible/roles/ironic/handlers/main.yml | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/ansible/roles/ironic/handlers/main.yml b/ansible/roles/ironic/handlers/main.yml
index 86b97aee4..95cf4e764 100644
--- a/ansible/roles/ironic/handlers/main.yml
+++ b/ansible/roles/ironic/handlers/main.yml
@@ -32,26 +32,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 }}"
-      validate_certs: false
-  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"
-- 
GitLab