Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1619712

Summary: python-ovs: No module named compat
Product: [Fedora] Fedora Reporter: Slawek Kaplonski <skaplons>
Component: openvswitchAssignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: Roee Agiman <ragiman>
Severity: medium Docs Contact:
Priority: medium    
Version: 29CC: aconole, aloughla, apevec, bcafarel, bhaley, chrisw, fleitner, rhos-maint, srevivo, tgraf, tredaelli, twilson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch-2.9.2-6.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-21 05:35:01 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 Slawek Kaplonski 2018-08-21 14:37:00 UTC
Description of problem:
python2-openvswitch packages don't have module compat.

Version-Release number of selected component (if applicable):
I checked it on 2.9.2-5.fc29

How reproducible:
100%

Steps to Reproduce:
1. Install openvswitch and python2-openvswitch 
2. Run python and try to do:
   from ovs.compat import sortedcontainers

Actual results:
Import will fail with ImportError


Expected results:
Module should be available


Additional info:
Similar bug reported already for OVS 2.10: https://bugzilla.redhat.com/show_bug.cgi?id=1614817

Comment 1 Bernard Cafarelli 2018-08-22 14:40:49 UTC
https://github.com/openvswitch/ovs/commit/5a6bba2c28ff82a7a1c30ef3e42f6a0389af32fe

This got in 2.9.1, so it indeed needs the same fix as in 2.10

Comment 3 Terry Wilson 2018-08-31 18:43:07 UTC
I have requested a backport to branch-2.9 as well.

Comment 4 Terry Wilson 2018-09-01 04:20:32 UTC
The patch has been merged into upstream OVS branch-2.9. We just need to get a build made.

Comment 5 Fedora Update System 2018-09-17 15:39:34 UTC
openvswitch-2.9.2-6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a6172e09cc

Comment 6 Fedora Update System 2018-09-18 06:17:03 UTC
openvswitch-2.9.2-6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a6172e09cc

Comment 7 Fedora Update System 2018-09-21 05:35:01 UTC
openvswitch-2.9.2-6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.