← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1896205] [NEW] AttributeError: 'NoneType' object has no attribute 'db_find_rows' during neutron-server startup

 

Public bug reported:

openstack/ussuri deployment

neutron: 16.1.0
ovn: 20.06.2
ovs: 2.13.1

When starting neutron-server, the following traceback is showing up:

--8<--8<--8<--
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event [-] Unexpected exception in notify_loop: AttributeError: 'NoneType' object has no attribute 'db_find_rows'
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event Traceback (most recent call last):
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event   File "/var/lib/kolla/venv/lib/python3.6/site-packages/ovsdbapp/event.py", line 143, in notify_loop
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event     match.run(event, row, updates)
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event   File "/var/lib/kolla/venv/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py", line 346, in run
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event     self.driver.delete_mac_binding_entries(row.external_ip)
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event   File "/var/lib/kolla/venv/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 957, in delete_mac_binding_entries
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event     mac_binds = self._sb_ovn.db_find_rows(
2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event AttributeError: 'NoneType' object has no attribute 'db_find_rows'
--8<--8<--8<--

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1896205

Title:
  AttributeError: 'NoneType' object has no attribute 'db_find_rows'
  during neutron-server startup

Status in neutron:
  New

Bug description:
  openstack/ussuri deployment

  neutron: 16.1.0
  ovn: 20.06.2
  ovs: 2.13.1

  When starting neutron-server, the following traceback is showing up:

  --8<--8<--8<--
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event [-] Unexpected exception in notify_loop: AttributeError: 'NoneType' object has no attribute 'db_find_rows'
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event Traceback (most recent call last):
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event   File "/var/lib/kolla/venv/lib/python3.6/site-packages/ovsdbapp/event.py", line 143, in notify_loop
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event     match.run(event, row, updates)
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event   File "/var/lib/kolla/venv/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py", line 346, in run
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event     self.driver.delete_mac_binding_entries(row.external_ip)
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event   File "/var/lib/kolla/venv/lib/python3.6/site-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py", line 957, in delete_mac_binding_entries
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event     mac_binds = self._sb_ovn.db_find_rows(
  2020-09-18 08:18:47.934 47 ERROR ovsdbapp.event AttributeError: 'NoneType' object has no attribute 'db_find_rows'
  --8<--8<--8<--

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1896205/+subscriptions