neutron-ovn-db-sync-util fails

Bug #1632971 reported by ZongKai LI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Numan Siddique

Bug Description

2016-10-13 15:16:54.172 CRITICAL neutron_ovn_db_sync_util [-] KeyError: 'ovn-sync'

2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util Traceback (most recent call last):
2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util File "/usr/local/bin/neutron-ovn-db-sync-util", line 10, in <module>
2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util sys.exit(main())
2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util File "/opt/stack/networking-ovn/networking_ovn/cmd/neutron_ovn_db_sync_util.py", line 110, in main
2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util ovn_driver = core_plugin.mechanism_manager.mech_drivers['ovn-sync'].obj
2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util KeyError: 'ovn-sync'
2016-10-13 15:16:54.172 TRACE neutron_ovn_db_sync_util

built on upstream code, by devstack.

I plan to work on it, if anyone knows reason why and can fix it quickly, feel free to assign to himself.

ZongKai LI (zongkai)
Changed in networking-ovn:
assignee: nobody → ZongKai LI (lzklibj)
description: updated
ZongKai LI (zongkai)
Changed in networking-ovn:
assignee: ZongKai LI (lzklibj) → nobody
Richard Theis (rtheis)
Changed in networking-ovn:
status: New → Confirmed
Revision history for this message
Richard Theis (rtheis) wrote :

Hi ZongKai, I suggest checking for recent neutron changes that may have impacted the core plugin, ML2 or configuration file setup.

Revision history for this message
Numan Siddique (numansiddique) wrote :

I can take a look into it.

Changed in networking-ovn:
assignee: nobody → Numan Siddique (numansiddique)
Revision history for this message
Numan Siddique (numansiddique) wrote :

cfg.CONF.set_override('mechanism_drivers', ['ovn-sync'], 'ml2') is fixing the problem.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (master)

Fix proposed to branch: master
Review: https://review.openstack.org/386016

Changed in networking-ovn:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/386016
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=7ea5f61c18694a4deab18e1e13cb20c0970a424b
Submitter: Jenkins
Branch: master

commit 7ea5f61c18694a4deab18e1e13cb20c0970a424b
Author: Numan Siddique <email address hidden>
Date: Thu Oct 13 20:06:15 2016 +0530

    Fix the KeyError in neutron-ovn-db-sync-util

    cfg.CONF.ml2.mechanism_drivers = ['ovn-sync'] is not getting reflected
    globally. Instead using cfg.CONF.set_override to override the value in
    the neutron-ovn-db-sync-util.

    Change-Id: I0444dfb53f112cd5c7d0a590d92b6ad101701380
    Closes-bug: #1632971

Changed in networking-ovn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 2.0.0.0b1

This issue was fixed in the openstack/networking-ovn 2.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.