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

Bug 1595641

Summary: Host install fail due to missing dependcy on python-netaddr
Product: [oVirt] ovirt-engine Reporter: Ondra Machacek <omachace>
Component: Packaging.rpmAssignee: Ondra Machacek <omachace>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.4CC: bugs, lsvaty
Target Milestone: ovirt-4.2.5Flags: rule-engine: ovirt-4.2+
Target Release: 4.2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-31 15:28:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.