From 1441b1b782d19f0c99d853d81c8fea4c4dd6abe0 Mon Sep 17 00:00:00 2001 From: jgilaber Date: Mon, 17 Feb 2025 09:44:58 +0100 Subject: [PATCH] Run watcher hook after installing openstack-operator Instead of running at the end of the infra playbook, run it just after installing openstack. This means the watcher operator will be installed after the openstack-operator is present, which will prevent the watcher operator crashing and having to restart until the openstack-operator is available. Depends-On: https://github.com/openstack-k8s-operators/ci-framework/pull/2735 --- .zuul.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index fed415fc..33a29dbf 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -104,10 +104,11 @@ deploy_watcher_service: false # Do not fetch dlrn md5 hash fetch_dlrn_hash: false - # run the hook to install watcher at the end of the cifmw infra playbook. If we try to run it + # run the hook to install watcher after installing openstack-operator. + # If we try to run the hook # as a standalone plabyook, it tries to load the cifmw ci_script action # plugin from the zuul executor and doesn't find it - post_infra: + post_install_operators_kuttl_from_operator: - name: Deploy watcher service type: playbook source: "{{ watcher_hook }}"