Bug 1608467 - [TEXT] - the deployment will fail late if firewalld is disabled or masked on the host
Summary: [TEXT] - the deployment will fail late if firewalld is disabled or masked on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.2.5
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.2.6
: ---
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
: 1618410 (view as bug list)
Depends On:
Blocks: 1547768 1614832
TreeView+ depends on / blocked
 
Reported: 2018-07-25 15:07 UTC by Simone Tiraboschi
Modified: 2021-09-09 15:13 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2018-09-04 13:44:19 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43568 0 None None None 2021-09-09 15:13:30 UTC
Red Hat Product Errata RHBA-2018:2630 0 None None None 2018-09-04 13:44:30 UTC
oVirt gerrit 93366 0 master MERGED checks: enforce firewalld status 2021-01-08 10:47:59 UTC
oVirt gerrit 93393 0 ovirt-hosted-engine-setup-2.2 MERGED checks: enforce firewalld status 2021-01-08 10:47:59 UTC

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


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