Browse Source

Merge "[OVN] Check for lock in check_for_mcast_flood_reports" into stable/victoria

changes/70/790270/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
967dc8175f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py

+ 3
- 0
neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py View File

@ -666,6 +666,9 @@ class DBInconsistenciesPeriodics(SchemaAwarePeriodicsBase):
# once per lock due to the use of periodics.NeverAgain().
@periodics.periodic(spacing=600, run_immediately=True)
def check_for_mcast_flood_reports(self):
if not self.has_lock:
return
cmds = []
for port in self._nb_idl.lsp_list().execute(check_error=True):
port_type = port.type.strip()


Loading…
Cancel
Save