Bug 1601565

Summary: Tests in OVSFlowTestCase class fail
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: python-ryuAssignee: Bernard Cafarelli <bcafarel>
Status: CLOSED ERRATA QA Contact: Toni Freger <tfreger>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: amuller, apevec, bcafarel, chrisw, jschluet, lhh, nyechiel, sclewis, srevivo
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ryu-4.26-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:50:43 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:
Bug Depends On: 1609299    
Bug Blocks:    

Description Arie Bregman 2018-07-16 17:27:30 UTC
Description of problem:

The following error is seen:

traceback-1: {{{
Traceback (most recent call last):
  File "neutron/tests/base.py", line 140, in func
    return f(self, *args, **kwargs)
  File "neutron/tests/functional/agent/test_ovs_flows.py", line 478, in test_bundled_install
    with self.br_tun.bundled() as br:
  File "neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py", line 282, in __enter__
    msg = ofpp.ONFBundleCtrlMsg(dp, self.active_bundle,
AttributeError: 'module' object has no attribute 'ONFBundleCtrlMsg'
}}}


It seems we need a higher version of python-ryu.
What we have right now is: python-ryu-4.15-1.el7ost.noarch


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


How reproducible: 100%


Steps to Reproduce:
1. Clone neutron project
2. Run dsvm-functional tests

Comment 2 Bernard Cafarelli 2018-07-20 12:30:10 UTC
Looks like so, let me take a look

Comment 3 Bernard Cafarelli 2018-07-20 14:45:59 UTC
https://github.com/osrg/ryu/commit/9fa0b58199ce64c0819ebd7a7963d377bd1519bd

We need ryu >= 4.21, also current neutron requirements/lower-constraints use 4.24

Comment 10 errata-xmlrpc 2019-01-11 11:50:43 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-2019:0045