Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1934833

Summary: ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Chassis_Private
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: python-networking-ovnAssignee: ffernand <ffernand>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: apevec, bcafarel, ffernand, gkadam, jlibosva, lhh, lmartins, majopela, ralonsoh, scohen
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-7.3.1-1.20201114024056.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:51:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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