From ab19186dad2ce66505103a4a94742071e3984382 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 4 Sep 2023 16:14:07 +0100 Subject: [PATCH] Retry applying OVN connection settings This task runs immediately after one which may start the OVN services and the unix socket files may not yet be present when the command is run to configure the connection settings. Introduce retires to the task to give time for the services to start and the sockets to exist. See https://paste.opendev.org/show/bPgVSIHyVPY5MwC373Zj/ Change-Id: I286169ca9ec493ef9ff1923249336cdc168619d0 --- tasks/providers/ovn_cluster_setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/providers/ovn_cluster_setup.yml b/tasks/providers/ovn_cluster_setup.yml index 05548c15..9f4e90e7 100644 --- a/tasks/providers/ovn_cluster_setup.yml +++ b/tasks/providers/ovn_cluster_setup.yml @@ -93,6 +93,10 @@ - ovn_northd_opts.changed loop_control: loop_var: cmd + register: _ovn_connection_settings + until: _ovn_connection_settings is success + retries: 5 + delay: 2 tags: - neutron_ovn-config