Bug 1417738
Summary: | The packaging for python-openvswitch should build the C json extension | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Terry Wilson <twilson> |
Component: | openvswitch | Assignee: | Terry Wilson <twilson> |
Status: | CLOSED ERRATA | QA Contact: | Ofer Blaut <oblaut> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 11.0 (Ocata) | CC: | aloughla, amuller, apevec, chrisw, dalvarez, fleitner, jschluet, rhos-maint, srevivo, twilson |
Target Milestone: | z5 | Keywords: | TestOnly, Triaged, ZStream |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openvswitch-2.9.0-56.el7fdn | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-14 13:28:34 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
Terry Wilson
2017-01-30 20:08:02 UTC
Um, I'm not sure why it posted that while I was still typing, but ok: Steps to reproduce: 1. Install python-openvswitch 2. Try to import ovs._json Actual Results: ImportError Expected results: Import succeeds. I have heard that packages built here: https://github.com/numansiddique/overcloud_image_for_ovn/tree/master/rpms have a separate package for python-openvswitch which includes support for the C extension, so maybe the work numans did there can be re-used. Is this still relevant? If so, maybe we can be of service? amuller: it is still relevant. I'll see if I can figure out how the OVS packaging even works. Upstream patch to add the C extension to the Fedora/CentOS python-openvswitch RPMs: https://patchwork.ozlabs.org/patch/802892/ Ping. What is the current status here and what's there left to do? *** Bug 1546756 has been marked as a duplicate of this bug. *** These were the attempts to achieve getting the C JSON parser in by default: * https://patchwork.ozlabs.org/patch/699900/ * https://patchwork.ozlabs.org/patch/802892/ It'd be nice to have in OVS 2.9 :) Hi, Looks like the direction upstream was to be a subpackage of OVS and not a standalone new package. Another important thing is that upstream compiles as shared libraries while RHEL is build statically. We will need to come up with a way to change to shared while still linking statically with DPDK. fbl to verify, try import ovs._json, if it succeeds, the C json extensions were built. According to our records, this should be resolved by openvswitch-2.9.0-56.el7fdp. This build is available now. 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/RHBA-2019:0552 |