AttributeError: 'NoneType' object has no attribute 'db_find_rows'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
New
|
Undecided
|
Unassigned | ||
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
(neutron-
python3-
openstack-
openstack-
python3-
python3-
python3-
openstack-
openstack-
python3-
python3-
I found some error log in neutron-server.log:
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event [-] Unexpected exception in notify_loop: AttributeError: 'NoneType' object has no attribute 'db_find_rows'
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event Traceback (most recent call last):
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event File "/usr/lib/
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event match.run(event, row, updates)
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event File "/usr/lib/
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event self.driver.
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event File "/usr/lib/
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event mac_binds = self._sb_
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event AttributeError: 'NoneType' object has no attribute 'db_find_rows'
2021-02-06 16:27:27.557 24 ERROR ovsdbapp.event
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event [-] Unexpected exception in notify_loop: AttributeError: 'NoneType' object has no attribute 'db_find_rows'
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event Traceback (most recent call last):
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event File "/usr/lib/
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event match.run(event, row, updates)
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event File "/usr/lib/
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event self.driver.
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event File "/usr/lib/
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event mac_binds = self._sb_
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event AttributeError: 'NoneType' object has no attribute 'db_find_rows'
2021-02-06 16:27:27.558 24 ERROR ovsdbapp.event
how to fix this?
Hi,
Do you have any steps to reproduce this ?
Cause looking at the traceback here, I seems like the self._sb_ovn is None, that means that the OVN driver is not yet connected to the OVN Southbound database.
Can you see in the logs if OVN eventually connected to it ?
One thing we could probably do in the driver is to check if the connection has already been established before trying to process these events.