Description of problem: serval14 ~]# rpm -qa | grep ovirt-hosted-engine-setupovirt-hosted-engine-setup-2.6.3-1.el8ev.noarch [root@serval14 ~]# hosted-engine --deploy --4 --ansible-extra-vars=he_pause_before_engine_setup=true[ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup During customization use CTRL-D to abort. Continuing will configure this host for serving as hypervisor and will create a local VM with a running engine. The locally running engine will be used to configure a new storage domain and create a VM there. At the end the disk of the local VM will be moved to the shared storage. Are you sure you want to continue? (Yes, No)[Yes]: It has been detected that this program is executed through an SSH connection without using tmux. Continuing with the installation may lead to broken installation if the network connection fails. It is highly recommended to abort the installation and run it inside a tmux session using command "tmux". Do you want to continue anyway? (Yes, No)[No]: yes Configuration files: Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20220329144634-3rvy5v.log Version: otopi-1.10.0 (otopi-1.10.0-1.el8ev) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup (late) [ INFO ] Stage: Environment customization --== STORAGE CONFIGURATION ==-- --== HOST NETWORK CONFIGURATION ==-- Please indicate the gateway IP address [10.35.235.254]: [ INFO ] Checking available network interfaces: [ ERROR ] b"ERROR! couldn't resolve module/action 'firewalld'. This often indicates a misspelling, missing collection, or incorrect module path.\n" [ ERROR ] b'\n' [ ERROR ] b"The error appears to be in '/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml': line 12, column 5, but may\n" [ ERROR ] b'be elsewhere in the file depending on the exact syntax problem.\n' [ ERROR ] b'\n' [ ERROR ] b'The offending line appears to be:\n' [ ERROR ] b'\n' [ ERROR ] b' delay: 20\n' [ ERROR ] b' - name: Open a port on firewalld\n' [ ERROR ] b' ^ here\n' [ ERROR ] Failed to execute stage 'Environment customization': Failed executing ansible-playbook [ INFO ] Stage: Clean up [ INFO ] Cleaning temporary resources [ ERROR ] b"ERROR! couldn't resolve module/action 'firewalld'. This often indicates a misspelling, missing collection, or incorrect module path.\n" [ ERROR ] b'\n' [ ERROR ] b"The error appears to be in '/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml': line 12, column 5, but may\n" [ ERROR ] b'be elsewhere in the file depending on the exact syntax problem.\n' [ ERROR ] b'\n' [ ERROR ] b'The offending line appears to be:\n' [ ERROR ] b'\n' [ ERROR ] b' delay: 20\n' [ ERROR ] b' - name: Open a port on firewalld\n' [ ERROR ] b' ^ here\n' [ ERROR ] Failed to execute stage 'Clean up': Failed executing ansible-playbook [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20220329145306.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20220329144634-3rvy5v.log Version-Release number of selected component (if applicable): ansible-macros-2021.1.2-2.1.el8ev.noarch ovirt-ansible-collection-2.0.0-0.6.BETA.el8ev.noarch ansible-core-2.12.2-3.1.el8.x86_64 ovirt-hosted-engine-setup-2.6.3-1.el8ev.noarch ovirt-hosted-engine-ha-2.5.0-1.el8ev.noarch Linux 4.18.0-372.3.1.el8.x86_64 #1 SMP Mon Mar 21 10:44:53 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.6 Beta (Ootpa) How reproducible: 100% Steps to Reproduce: 1.Deploy HE. Actual results: [ ERROR ] b"ERROR! couldn't resolve module/action 'firewalld'. This often indicates a misspelling, missing collection, or incorrect module path.\n" Expected results: Should pass. Additional info: I ran it on FIPS enabled host, but it also fails on regular one, see also https://bugzilla.redhat.com/show_bug.cgi?id=2026770#c8 Its probably related to changes made in ansible.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Based on bug 2026770 comment 10, fixed in ovirt-ansible-collection-2.0.0-0.8.BETA.
Works fine on: ovirt-hosted-engine-setup-2.6.3-1.el8ev.noarch ovirt-hosted-engine-ha-2.5.0-1.el8ev.noarch ovirt-ansible-collection-2.0.0-0.9.BETA.el8ev.noarch Red Hat Enterprise Linux release 8.6 Beta (Ootpa) Linux 4.18.0-372.5.1.el8.x86_64 #1 SMP Mon Mar 28 11:03:39 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux Engine Software Version:4.5.0.1-605.90f87fe14688.14.el8ev
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 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.