Browse Source

Merge "Fix ovn-db-sync-util after removing l3 ovsdb connection" into stable/rocky

changes/11/731811/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
fd98fdb8f5
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      networking_ovn/cmd/neutron_ovn_db_sync_util.py

+ 5
- 1
networking_ovn/cmd/neutron_ovn_db_sync_util.py View File

@@ -191,7 +191,11 @@ def main():

manager.init()
core_plugin = directory.get_plugin()
ovn_driver = core_plugin.mechanism_manager.mech_drivers['ovn-sync'].obj
driver = core_plugin.mechanism_manager.mech_drivers['ovn-sync']
# The L3 code looks for the OVSDB connection on the 'ovn' driver
# and will fail with a KeyError if it isn't there
core_plugin.mechanism_manager.mech_drivers['ovn'] = driver
ovn_driver = driver.obj
ovn_driver._nb_ovn = ovn_api
ovn_driver._sb_ovn = ovn_sb_api



Loading…
Cancel
Save