Bug 1934833 - ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private
Summary: ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: ffernand
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-03 21:10 UTC by Arie Bregman
Modified: 2024-10-01 17:36 UTC (History)
10 users (show)

Fixed In Version: python-networking-ovn-7.3.1-1.20201114024056.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:51:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1905700 0 None None None 2021-03-03 21:12:59 UTC
Launchpad 1914754 0 None None None 2021-03-04 10:28:01 UTC
Red Hat Issue Tracker OSP-489 0 None None None 2021-11-24 21:11:32 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:52:12 UTC

Description Arie Bregman 2021-03-03 21:10:16 UTC
Description of problem:

Tests under networking_ovn.tests.functional.test_metadata_agent.TestMetadataAgent fail with:

testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/cloud-user/networking-ovn/networking_ovn/tests/functional/test_metadata_agent.py", line 74, in setUp
    self.agent = self._start_metadata_agent()
  File "/home/cloud-user/networking-ovn/networking_ovn/tests/functional/test_metadata_agent.py", line 97, in _start_metadata_agent
    agt.start()
  File "/home/cloud-user/networking-ovn/networking_ovn/agent/metadata/agent.py", line 254, in start
    self.register_metadata_agent()
  File "/home/cloud-user/networking-ovn/networking_ovn/agent/metadata/agent.py", line 265, in register_metadata_agent
    ext_ids).execute(check_error=True)
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 42, in execute
    t.add(self)
  File "/usr/lib64/python3.6/contextlib.py", line 88, in __exit__
    next(self.gen)
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/api.py", line 110, in transaction
    del self._nested_txns_map[cur_thread_id]
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/api.py", line 61, in __exit__
    self.result = self.commit()
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 64, in commit
    raise result.ex
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 129, in run
    txn.results.put(txn.do_commit())
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 91, in do_commit
    command.run_idl(txn)
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 172, in run_idl
    record = self.api.lookup(self.table, self.record)
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 177, in lookup
    return self._lookup(table, record)
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/__init__.py", line 224, in _lookup
    row = idlutils.row_by_value(self, rl.table, rl.column, record)
  File "/usr/local/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/idlutils.py", line 114, in row_by_value
    raise RowNotFound(table=table, col=column, match=match)
ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private with name=4ace5858-defc-4397-959f-9958c042291e

Version-Release number of selected component (if applicable): 16.1 - trunk

How reproducible: 100%


Steps to Reproduce:
1. Clone networking-ovn
2. Checkout 16.1-trunk branch
3. Run functional tests

Comment 1 ffernand 2021-03-03 21:13:01 UTC
Backporting Lucas' fixes [0] to rhos-16.1-trunk-patches is what we need.

[0]: https://bugs.launchpad.net/neutron/+bug/1905700

Comment 24 errata-xmlrpc 2021-05-26 13:51:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:2097


Note You need to log in before you can comment on or make changes to this bug.