Bug 1595641 - Host install fail due to missing dependcy on python-netaddr
Summary: Host install fail due to missing dependcy on python-netaddr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Packaging.rpm
Version: 4.2.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.5
: 4.2.5
Assignee: Ondra Machacek
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-27 09:04 UTC by Ondra Machacek
Modified: 2018-07-31 15:28 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-4.2.5
Clone Of:
Environment:
Last Closed: 2018-07-31 15:28:06 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 92567 0 master MERGED packaging: Add python-netaddr requirement 2018-06-27 13:46:28 UTC
oVirt gerrit 92596 0 ovirt-engine-4.2 MERGED packaging: Add python-netaddr requirement 2018-06-27 16:05:15 UTC

Description Ondra Machacek 2018-06-27 09:04:12 UTC
Description of problem:
When installing host on engine which doesn't have installed package python-netaddr, it fails with following error:

 Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]:
The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller 

Version-Release number of selected component (if applicable):
4.2.4

How reproducible:
always

Steps to Reproduce:
1. Have engine without python-netaddr package
2. Install host.

Actual results:
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]:
The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller 

Expected results:
python-netaddr should be installed by default as ovirt-engine requirment

Additional info:
Add requirment to spec file for python-netaddr.

Comment 1 Pavol Brilla 2018-07-17 10:09:50 UTC
# yum deplist ovirt-engine-tools | grep net ; yum list ovirt-engine ovirt-engine-tools
  dependency: python-netaddr
   provider: python-netaddr.noarch 0.7.18-1.el7ost
Installed Packages
ovirt-engine.noarch                             4.2.5.1-0.1.el7ev                        @rhv-4.2-latest
ovirt-engine-tools.noarch                       4.2.5.1-0.1.el7ev                        @rhv-4.2-latest

Comment 2 Sandro Bonazzola 2018-07-31 15:28:06 UTC
This bugzilla is included in oVirt 4.2.5 release, published on July 30th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.5 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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