diff --git a/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py b/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py index b5e7cfe3967..9de64c6bf9d 100644 --- a/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py +++ b/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py @@ -661,9 +661,8 @@ class BaseOvnSbIdl(Ml2OvnIdlBase): helper.register_table('Encap') helper.register_table('Port_Binding') helper.register_table('Datapath_Binding') - # Used by MaintenanceWorker which can use ovsdb locking try: - return cls(connection_string, helper, leader_only=True) + return cls(connection_string, helper, leader_only=False) except TypeError: # TODO(twilson) We can remove this when we require ovs>=2.12.0 return cls(connection_string, helper) diff --git a/releasenotes/notes/bug-2022914-edbf1ea3514596b8.yaml b/releasenotes/notes/bug-2022914-edbf1ea3514596b8.yaml new file mode 100644 index 00000000000..6fa3b3a5138 --- /dev/null +++ b/releasenotes/notes/bug-2022914-edbf1ea3514596b8.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + [`bug 2022914 `_] + Neutron-API supports using relays as the southbound connection in a + ML2/OVN setup. Before the maintenance worker of the API required a + leader_only connection, which was removed.