diff --git a/ovn_octavia_provider/ovsdb/impl_idl_ovn.py b/ovn_octavia_provider/ovsdb/impl_idl_ovn.py index b80371fc..19c55a5a 100644 --- a/ovn_octavia_provider/ovsdb/impl_idl_ovn.py +++ b/ovn_octavia_provider/ovsdb/impl_idl_ovn.py @@ -28,6 +28,7 @@ from ovn_octavia_provider.i18n import _ from ovn_octavia_provider.ovsdb import impl_idl_ovn from ovn_octavia_provider.ovsdb import ovsdb_monitor +config.register_opts() LOG = log.getLogger(__name__) @@ -163,7 +164,8 @@ class OvnNbIdlForLb(ovsdb_monitor.OvnIdl): atexit.register(self.stop) @tenacity.retry( - wait=tenacity.wait_exponential(max=180), + wait=tenacity.wait_exponential( + max=config.get_ovn_ovsdb_retry_max_interval()), reraise=True) def _get_ovsdb_helper(self, connection_string): return idlutils.get_schema_helper(connection_string, self.SCHEMA)