Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1490919

Summary: Consume python-ovsdbapp dependencies from OSP in RHEL 7 RHV 4.2
Product: Red Hat Enterprise Virtualization Manager Reporter: Marcin Mirecki <mmirecki>
Component: python-ovsdbapp-dependenciesAssignee: Marcin Mirecki <mmirecki>
Status: CLOSED ERRATA QA Contact: Mor <mkalfon>
Severity: medium Docs Contact:
Priority: high    
Version: 4.2.0CC: danken, lsurette, mkalfon, mmirecki, rbalakri, Rhev-m-bugs, srevivo, twilson, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 18:02:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Mirecki 2017-09-12 13:31:25 UTC
Consume python-ovsdbapp dependencies from OSP in RHEL 7 RHV 4.2:
python-extras 
python-fixtures
python-linecache2
python-mimeparse
python-netaddr
python-pbr
python-testtools
python-traceback2
python-unittest2

Comment 1 Dan Kenigsberg 2017-09-13 07:42:25 UTC
Terry, can we avoid some of these dependencies of ovsdbapp?

Comment 4 Terry Wilson 2017-09-14 15:29:53 UTC
(In reply to Dan Kenigsberg from comment #1)
> Terry, can we avoid some of these dependencies of ovsdbapp?

Not any time particularly soon, anyway. The fixtures library is required for a couple of things in ovsdbapp right now. And even if they are eventually moved to a subpackage (something I wouldn't count on since no one I've talked to liked that solution), they're still going to have to be met. The 'fixtures' library had deceptively few dependencies. testtools is kind of crazy--and looking at the code 99% of the use seems to be just compatibility utils.

It might be possible to just re-implement fixture in a lighter manner or even remove the testtools dependency in fixtures. But that's going to take a bit of work.

Comment 5 Terry Wilson 2017-09-15 16:57:23 UTC
I've contacted the fixtures developer about the possibility of a testtools-less fixtures. I haven't heard back yet. Most of the uses in the library are things that are already covered by six. It would not be hard to copy the Fixtures class in-tree with very minimal modification to avoid the dependency, though I hate doing that kind of thing. I'll keep you updated on what I hear back.

Comment 7 Mor 2017-11-06 11:23:54 UTC
Is package 'python-pbr' required? because it is not shipped in release: rhvm-4.2.0-0.4.master.el7.noarch

Comment 8 Mor 2017-11-06 13:36:01 UTC
Verified on: RHV 4.2.0-0.4.master.el7

'python2-pbr' is installed.

Installing:
 python-ovsdbapp
Installing for dependencies:
 python-extra
 python-fixtures
 python-linecache2
 python-mimeparse
 python-openvswitch
 python-testtools
 python-traceback2
 python-unittest2
 python2-pbr

Comment 11 errata-xmlrpc 2018-05-15 18:02:12 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/RHBA-2018:1545

Comment 12 Franta Kust 2019-05-16 13:09:47 UTC
BZ<2>Jira Resync