Bug 1502140

Summary: ovs_lib unit and functional tests fail
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: openstack-neutronAssignee: Terry Wilson <twilson>
Status: CLOSED ERRATA QA Contact: Toni Freger <tfreger>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 12.0 (Pike)CC: amuller, chrisw, ihrachys, jlibosva, jschluet, nyechiel, srevivo
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-11.0.2-0.20171014013906.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 22:15:46 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 2017-10-14 12:35:19 UTC
Description of problem:


There are over 200 ovs_lib tests failing in CI with the following error:

TypeError: Can't instantiate abstract class OvsdbVsctl with abstract methods db_find_rows, db_list_rows, db_remove


Version-Release number of selected component (if applicable): Latest OSP 12


How reproducible: 100%


Steps to Reproduce:
1. Clone neutron
2. Checkout OSP 12 branch
3. Run functional and/or unit tests

Actual results:

Traceback (most recent call last):
  File "neutron/tests/unit/agent/common/test_ovs_lib.py", line 93, in wrapper
    return f(*args, **kwargs)
  File "neutron/tests/unit/agent/common/test_ovs_lib.py", line 109, in setUp
    self.br = ovs_lib.OVSBridge(self.BR_NAME)
  File "neutron/agent/common/ovs_lib.py", line 195, in __init__
    super(OVSBridge, self).__init__()
  File "neutron/agent/common/ovs_lib.py", line 113, in __init__
    self.ovsdb = ovsdb_api.from_config(self)
  File "neutron/agent/ovsdb/api.py", line 57, in from_config
    return iface.api_factory(context)
  File "neutron/agent/ovsdb/impl_vsctl.py", line 33, in api_factory
    return OvsdbVsctl(context)
TypeError: Can't instantiate abstract class OvsdbVsctl with abstract methods db_find_rows, db_list_rows, db_remove


Expected results: Tests passed successfully

Comment 3 Jakub Libosvar 2017-10-16 13:59:11 UTC
Terry will have a look

Comment 7 errata-xmlrpc 2017-12-13 22:15:46 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, 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-2017:3462