Bug 1608467

Summary: [TEXT] - the deployment will fail late if firewalld is disabled or masked on the host
Product: Red Hat Enterprise Virtualization Manager Reporter: Simone Tiraboschi <stirabos>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: medium    
Version: 4.2.5CC: bugs, lsurette, mkalinin, quackmaster, trichard, ylavi
Target Milestone: ovirt-4.2.6Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-hosted-engine-setup-2.2.26 Doc Type: Enhancement
Doc Text:
Self-hosted engine deployment fails if firewalld is masked on the host. This is now checked earlier in the deployment script.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 13:44:19 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:    
Bug Blocks: 1547768, 1614832    

Description Simone Tiraboschi 2018-07-25 15:07:46 UTC
Description of problem:
The deployment will fail late if firewalld is disabled or masked on the host.
There is no check on ansible side so it will fail only at host-deploy time.

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


How reproducible:
100%

Steps to Reproduce:
1. mask firewalld service
2. deploy hosted-engine
3.

Actual results:
it will fail at host-deploy time

Expected results:
ansible task will check upfront and start it if disabled or print a clear error if firewalld is masked.

Additional info:

Comment 3 Nikolai Sednev 2018-08-20 13:50:27 UTC
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "firewalld is required to be enabled and active in order to correctly deploy hosted-engine. Please check, fix accordingly and re-deploy.\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
Works on these components:
ovirt-hosted-engine-setup-2.2.26-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.16-1.el7ev.noarch
rhvm-appliance-4.2-20180815.0.el7.noarch
Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Comment 4 Simone Tiraboschi 2018-08-20 15:27:35 UTC
*** Bug 1618410 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2018-09-04 13:44:19 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:2630

Comment 7 Daniel Gur 2019-08-28 13:13:08 UTC
sync2jira

Comment 8 Daniel Gur 2019-08-28 13:17:21 UTC
sync2jira