Bug 1491666

Summary: [3.6 downstream clone][RHEL7.4] firewalld version detection is broken
Product: Red Hat Enterprise Virtualization Manager Reporter: Sandro Bonazzola <sbonazzo>
Component: otopiAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bazulay, bugs, didi, dougsland, gbenhaim, lsurette, lsvaty, pbrilla, pvilayat, rbalakri, Rhev-m-bugs, sbonazzo, srevivo, ykaul
Target Milestone: ovirt-3.6.z-asyncKeywords: Rebase, Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: 1354607
: 1503440 (view as bug list) Environment:
Last Closed: 2017-11-07 09:05:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1354607    
Bug Blocks: 1503440    
Attachments:
Description Flags
engine log
none
host-deploy log none

Comment 3 Gal Ben Haim 2017-09-14 12:14:59 UTC
Engine. OS - RHEL 6.9
2 X HOSTS, OS - RHEL 7.4

otopi-1.4.2-1.el7ev.noarch.rpm
otopi-1.4.2-1.el6ev.noarch.rpm

How to reproduce? 

Install engine and run add host.

Comment 4 Gal Ben Haim 2017-09-14 12:15:46 UTC
Created attachment 1325954 [details]
engine log

Comment 5 Gal Ben Haim 2017-09-14 12:16:36 UTC
Created attachment 1325955 [details]
host-deploy log

Comment 7 Yedidyah Bar David 2017-09-14 13:43:53 UTC
Didn't verify, but I think a workaround is to run on the host:

yum remove firewalld

Comment 8 Yedidyah Bar David 2017-09-14 13:49:08 UTC
If host-deploy still fails with the fixed otopi, you should try again after removing the cached bundle:

rm /var/cache/ovirt-engine/ovirt-host-deploy.tar

The engine will automatically re-generate it (and include the new otopi) on the next host-deploy.

Comment 9 Sandro Bonazzola 2017-10-18 08:52:14 UTC
*** Bug 1494985 has been marked as a duplicate of this bug. ***

Comment 11 Pavol Brilla 2017-11-02 14:41:32 UTC
Host 7.3 :
# subscription-manager release --set=7.3
# subscription-manager repos --disable=* \
     --enable=rhel-7-server-eus-rpms \
     --enable=rhel-7-server-rhev-mgmt-agent-rpms


# yum list firewalld otopi                                                     Loaded plugins: product-id, search-disabled-repos                                                      Installed Packages                                                                                     firewalld.noarch                 0.4.3.2-8.1.el7_3.3                 @rhel-7-server-eus-rpms           
Available Packages
otopi.noarch                     1.4.2-1.el7ev                       rhel-7-server-rhev-mgmt-agent-rpms


2017-11-02 15:34:07 DEBUG otopi.plugins.otopi.network.firewalld firewalld._get_firewalld_cmd_version:105 firewalld version: 0.4.3.2

Comment 13 errata-xmlrpc 2017-11-07 09:05:13 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-2017:3126

Comment 14 Anton Marchukov 2017-11-13 13:56:46 UTC
*** Bug 1503440 has been marked as a duplicate of this bug. ***