From df0fee93a8fc3634ed68c1dfdecdf33ab5036a9c Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Fri, 7 Feb 2025 16:48:59 +0530 Subject: [PATCH] Fix wait condition for OpenStack initialization resource Api version was not set and kind was wrong and due to this it do not wait for the ready state as there is no such resouce in the default api_version v1. This leads to failure of later tasks as operators are not ready. --- roles/kustomize_deploy/tasks/install_operators.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/kustomize_deploy/tasks/install_operators.yml b/roles/kustomize_deploy/tasks/install_operators.yml index 3adffbdd9d..9d8e459e4a 100644 --- a/roles/kustomize_deploy/tasks/install_operators.yml +++ b/roles/kustomize_deploy/tasks/install_operators.yml @@ -373,7 +373,8 @@ when: not cifmw_kustomize_deploy_generate_crs_only kubernetes.core.k8s_info: kubeconfig: "{{ cifmw_openshift_kubeconfig }}" - kind: Openstack + api_version: "operator.openstack.org/v1beta1" + kind: OpenStack namespace: openstack-operators name: openstack wait: true