Skip to content

Commit ce640c8

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Make OVNMechanismDriver.post_fork_initialize callback cancellable" into stable/2023.1
2 parents 4eb13b5 + 20ba447 commit ce640c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ def subscribe(self):
244244
events.BEFORE_SPAWN)
245245
registry.subscribe(self.post_fork_initialize,
246246
resources.PROCESS,
247-
events.AFTER_INIT)
247+
events.AFTER_INIT,
248+
cancellable=True)
248249
registry.subscribe(self._add_segment_host_mapping_for_segment,
249250
resources.SEGMENT,
250251
events.AFTER_CREATE)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Jinja2>=2.10 # BSD License (3 clause)
2020
keystonemiddleware>=5.1.0 # Apache-2.0
2121
netaddr>=0.7.18 # BSD
2222
netifaces>=0.10.4 # MIT
23-
neutron-lib>=3.4.0 # Apache-2.0
23+
neutron-lib>=3.4.2 # Apache-2.0
2424
python-neutronclient>=7.8.0 # Apache-2.0
2525
tenacity>=6.0.0 # Apache-2.0
2626
SQLAlchemy>=1.4.23 # MIT

0 commit comments

Comments
 (0)