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
This commit is contained in:
Jonathan Rosser 2023-09-04 16:14:07 +01:00
parent 01da88f560
commit ab19186dad

View File

@ -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