Skip to content

Commit 9ae5e28

Browse files
authored
Merge pull request #66 from stackhpc/upstream/yoga-2023-09-18
Synchronise yoga with upstream
2 parents 7f8242a + ef31c17 commit 9ae5e28

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

neutron/db/models/tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ class Tag(model_base.BASEV2):
2626
tag = sa.Column(sa.String(255), nullable=False, primary_key=True)
2727
standard_attr = orm.relationship(
2828
'StandardAttribute', load_on_pending=True,
29-
backref=orm.backref('tags', lazy='subquery', viewonly=True),
29+
backref=orm.backref('tags', lazy='joined', viewonly=True),
3030
sync_backref=False)
3131
revises_on_change = ('standard_attr', )

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,9 +668,8 @@ def from_server(cls, connection_string, helper):
668668
helper.register_table('Encap')
669669
helper.register_table('Port_Binding')
670670
helper.register_table('Datapath_Binding')
671-
# Used by MaintenanceWorker which can use ovsdb locking
672671
try:
673-
return cls(connection_string, helper, leader_only=True)
672+
return cls(connection_string, helper, leader_only=False)
674673
except TypeError:
675674
# TODO(twilson) We can remove this when we require ovs>=2.12.0
676675
return cls(connection_string, helper)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
[`bug 2022914 <https://bugs.launchpad.net/neutron/+bug/2022914>`_]
5+
Neutron-API supports using relays as the southbound connection in a
6+
ML2/OVN setup. Before the maintenance worker of the API required a
7+
leader_only connection, which was removed.

0 commit comments

Comments
 (0)