ryu 4.2.1 breaks python 2.7 environments

Bug #1584858 reported by Bob Ball
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Unassigned

Bug Description

ryu >= 4.1 is broken for Python 2.7 environments - the following commit requires ovs>=2.6.0.dev0 for all environments:
https://github.com/osrg/ryu/commit/b8cb2d22aab1b761e9e2de2df1a93cc60ed60dfa

Contrastingly, upper-constraints prevents ovs>2.5.0 in Python 2.7 environments:
https://git.openstack.org/cgit/openstack/requirements/tree/upper-constraints.txt#n229

This is showing up as a breakage in the XenServer Neutron CI (currently on internal testing before commenting externally): pkg_resources.ContextualVersionConflict: (ovs 2.5.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('ovs>=2.6.0.dev0'), set(['ryu']))

Example failure logs at:
http://dd6b71949550285df7dc-dda4e480e005aaa13ec303551d2d8155.r49.cf1.rackcdn.com/05/243105/11/2000/logs/screen-q-agt.txt.gz

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

either bump ovs for 2.7, or clamp ryu for 2.7?

Changed in neutron:
status: New → Confirmed
Revision history for this message
Bob Ball (bob-ball) wrote :

Seems that changes to requirements don't get added to a bug report against neutron :)

Fix proposed at https://review.openstack.org/320027

Changed in neutron:
assignee: nobody → Marcellin Fom Tchassem (mf6510)
assignee: Marcellin Fom Tchassem (mf6510) → nobody
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

the ovs requirement in question was removed on ryu master. [1]
and a patch release including the change is now available on pypi. [2]
so you can now add !=4.2.1 to requirements and use 4.2.2.

[1] https://github.com/osrg/ryu/commit/9e3aaaf2d812a08201ff615bec0317d80840f094
[2] https://pypi.python.org/pypi/ryu/4.2.2

Revision history for this message
huan (huan-xie) wrote :

Thanks Yamamoto, will change ryu to 4.2.2

Revision history for this message
huan (huan-xie) wrote :

Change ryu to 4.2.2 fixed the problem, see patchset https://review.openstack.org/#/c/320027/

huan (huan-xie)
Changed in neutron:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.