Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1490919 - Consume python-ovsdbapp dependencies from OSP in RHEL 7 RHV 4.2
Consume python-ovsdbapp dependencies from OSP in RHEL 7 RHV 4.2
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: python-ovsdbapp-dependencies (Show other bugs)
4.2.0
Unspecified Unspecified
high Severity medium
: ovirt-4.2.0
: ---
Assigned To: Marcin Mirecki
Mor
: Rebase
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-12 09:31 EDT by Marcin Mirecki
Modified: 2018-05-15 14:02 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-15 14:02:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1545 None None None 2018-05-15 14:02 EDT

  None (edit)
Description Marcin Mirecki 2017-09-12 09:31:25 EDT
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 03:42:25 EDT
Terry, can we avoid some of these dependencies of ovsdbapp?
Comment 4 Terry Wilson 2017-09-14 11:29:53 EDT
(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 12:57:23 EDT
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 06:23:54 EST
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 08:36:01 EST
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 14:02:12 EDT
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

Note You need to log in before you can comment on or make changes to this bug.