Merge "[neutron-api] remove leader_only for sb connection"
This commit is contained in:
@@ -660,9 +660,8 @@ class BaseOvnSbIdl(Ml2OvnIdlBase):
|
|||||||
helper.register_table('Encap')
|
helper.register_table('Encap')
|
||||||
helper.register_table('Port_Binding')
|
helper.register_table('Port_Binding')
|
||||||
helper.register_table('Datapath_Binding')
|
helper.register_table('Datapath_Binding')
|
||||||
# Used by MaintenanceWorker which can use ovsdb locking
|
|
||||||
try:
|
try:
|
||||||
return cls(connection_string, helper, leader_only=True)
|
return cls(connection_string, helper, leader_only=False)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
# TODO(twilson) We can remove this when we require ovs>=2.12.0
|
# TODO(twilson) We can remove this when we require ovs>=2.12.0
|
||||||
return cls(connection_string, helper)
|
return cls(connection_string, helper)
|
||||||
|
7
releasenotes/notes/bug-2022914-edbf1ea3514596b8.yaml
Normal file
7
releasenotes/notes/bug-2022914-edbf1ea3514596b8.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
[`bug 2022914 <https://bugs.launchpad.net/neutron/+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.
|
Reference in New Issue
Block a user