Same situation.

I had to remove port 5900 from the host to complete the installation.

firewall-cmd --zone public --remove-port 5900/tcp --permanent

As you have already mentioned there is no access to the hosted-engine vm, so as 
a workaround I commented out the open port task in the following role. This 
worked fine. I assume the port must be opened by default in the hosted-engine 
vm image.

/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/bootstrap_local_vm/05_add_host.yml

#  - name: Open a port on firewalld
#    firewalld:
#      port: "{{ he_webui_forward_port }}/tcp"
#      permanent: false
#      immediate: true
#      state: enabled

It looks like a fixed issue in a very old ansible version. 
https://github.com/ansible/ansible/issues/23895
Not sure why we see this here. There are no leading spaces in the port as the 
issue mentions and I cannot replicate the issue in the host using the following 
playbook. 

---
- name: test firewalld
  hosts: localhost
  tasks:

  - name: Open Common Public Ports
    firewalld:
      port: "{{item}}"
      permanent: true
      state: enabled
      zone: public
      immediate: true
    with_items:
      - 5900-6923/tcp

Petros





_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PKLX2R32YZQJR7FJOT3GU7WHLJW7MBRX/

Reply via email to