Description of problem: ============================== Failed 2 tests - output below: ============================== networking_ovn.tests.unit.ovsdb.test_impl_idl_ovn.TestNBImplIdlOvn.test_get_floatingip_in_nat_or_lb --------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ b'Traceback (most recent call last):' b' File "/networking-ovn/networking_ovn/tests/unit/ovsdb/test_impl_idl_ovn.py", line 816, in test_get_floatingip_in_nat_or_lb' b' lb = self.nb_ovn_idl.get_floatingip_in_nat_or_lb(fip_id)' b' File "/networking-ovn/networking_ovn/ovsdb/impl_idl_ovn.py", line 645, in get_floatingip_in_nat_or_lb' b' ovn_const.OVN_FIP_EXT_ID_KEY: fip_id})).execute(check_error=True)' b' File "/networking-ovn/.tox/py36/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 38, in execute' b' with self.api.ovsdb_connection.lock:' b'AttributeError: __enter__' b'' networking_ovn.tests.unit.ovsdb.test_impl_idl_ovn.TestNBImplIdlOvn.test_get_router_floatingip_lbs ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ b'Traceback (most recent call last):' b' File "/networking-ovn/networking_ovn/tests/unit/ovsdb/test_impl_idl_ovn.py", line 802, in test_get_router_floatingip_lbs' b' lbs = self.nb_ovn_idl.get_router_floatingip_lbs(lrouter_name)' b' File "/networking-ovn/networking_ovn/ovsdb/impl_idl_ovn.py", line 634, in get_router_floatingip_lbs' b' return [ovn_obj for ovn_obj in rc.execute(check_error=True)' b' File "/networking-ovn/.tox/py36/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/command.py", line 38, in execute' b' with self.api.ovsdb_connection.lock:' b'AttributeError: __enter__' b'' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fix verified: {1} networking_ovn.tests.unit.ovsdb.test_impl_idl_ovn.TestNBImplIdlOvn.test_get_acls_for_lswitches [0.281700s] ... ok {1} networking_ovn.tests.unit.ovsdb.test_impl_idl_ovn.TestNBImplIdlOvn.test_get_all_dhcp_options [0.060229s] ... ok https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/network/view/networking-ovn/job/DFG-network-networking-ovn-16.2-component-tests-osp/118/artifact/.sh/ifr-tests-unit-tests.log
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 (RHOSP) 16.2 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/RHEA-2021:3483