← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942033] [NEW] Mechanism driver 'ovn' failed in update_port_postcommit: ovsdbapp.backend.ovs_idl.idlutils.RowNotFound

 

Public bug reported:

tempest scenario test cases failed with below errors in neutron log
======================
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers [None req-99cc0c3f-60b3-4b7f-ab46-b98029a3e3c2 None None] Mechanism driver 'ovn' failed in update_port_postcommit: ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Logical_Switch_Port with name=10eaeeee-7e5d-4fb4-8b19-1bcb72f33566
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 477, in _call_on_dr
ivers
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     getattr(driver.obj, method_name)(context)
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py
", line 791, in update_port_postcommit
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     self._ovn_client.update_port(context._plugin_context, port,
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_clie
nt.py", line 518, in update_port
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     ovn_port = self._nb_idl.lookup('Logical_Switch_Port', port['id'])
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl
_ovn.py", line 207, in lookup
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     return super().lookup(table, record, default=default, timeout=timeout,
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/usr/local/lib/python3.8/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", lin
e 208, in lookup
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     return self._lookup(table, record)
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/usr/local/lib/python3.8/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", lin
e 268, in _lookup
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     row = idlutils.row_by_value(self, rl.table, rl.column, record)
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/usr/local/lib/python3.8/dist-packages/ovsdbapp/backend/ovs_idl/idlutils.py", lin
e 114, in row_by_value
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     raise RowNotFound(table=table, col=column, match=match)
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Logical_Switch_Port with name=
10eaeeee-7e5d-4fb4-8b19-1bcb72f33566
Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers
======================================

For more detailed logs, please check: https://elab-os-
logsrv.delllabs.net/33/786933/6/check/DellEMC_SC_FC/89b4591/DellEMC_SC_FC/377/logs

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn

** Tags added: ovn

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

Title:
  Mechanism driver 'ovn' failed in update_port_postcommit:
  ovsdbapp.backend.ovs_idl.idlutils.RowNotFound

Status in neutron:
  New

Bug description:
  tempest scenario test cases failed with below errors in neutron log
  ======================
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers [None req-99cc0c3f-60b3-4b7f-ab46-b98029a3e3c2 None None] Mechanism driver 'ovn' failed in update_port_postcommit: ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Logical_Switch_Port with name=10eaeeee-7e5d-4fb4-8b19-1bcb72f33566
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 477, in _call_on_dr
  ivers
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     getattr(driver.obj, method_name)(context)
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py
  ", line 791, in update_port_postcommit
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     self._ovn_client.update_port(context._plugin_context, port,
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_clie
  nt.py", line 518, in update_port
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     ovn_port = self._nb_idl.lookup('Logical_Switch_Port', port['id'])
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl
  _ovn.py", line 207, in lookup
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     return super().lookup(table, record, default=default, timeout=timeout,
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/usr/local/lib/python3.8/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", lin
  e 208, in lookup
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     return self._lookup(table, record)
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/usr/local/lib/python3.8/dist-packages/ovsdbapp/backend/ovs_idl/__init__.py", lin
  e 268, in _lookup
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     row = idlutils.row_by_value(self, rl.table, rl.column, record)
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers   File "/usr/local/lib/python3.8/dist-packages/ovsdbapp/backend/ovs_idl/idlutils.py", lin
  e 114, in row_by_value
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers     raise RowNotFound(table=table, col=column, match=match)
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Logical_Switch_Port with name=
  10eaeeee-7e5d-4fb4-8b19-1bcb72f33566
  Aug 30 12:06:36.037228 e2e-os-scfc067 neutron-server[1910582]: ERROR neutron.plugins.ml2.managers
  ======================================

  For more detailed logs, please check: https://elab-os-
  logsrv.delllabs.net/33/786933/6/check/DellEMC_SC_FC/89b4591/DellEMC_SC_FC/377/logs

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



Follow ups