Description of problem: RHHI ansible deployment is getting failed with ovirt.hosted_engine_setup was not found error Version-Release number of selected component (if applicable): rhvh-4.4.3.1-0.20201026.0+1 ovirt-hosted-engine-setup-2.4.7-3.el8ev.noarch ovirt-hosted-engine-ha-2.4.5-1.el8ev.noarch gluster-ansible-infra-1.0.4-11.1.el8rhgs.noarch How reproducible: Always Steps to Reproduce: 1. Deploy rhhi using ansible playbook. ansible-playbook -i /root/he_inventory.yml /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/hc_deployment.yml --extra-vars='@/root/he_deployment.json' -vvv Actual results: ERROR! the role 'ovirt.hosted_engine_setup' was not found in /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks\n\nThe error appears to be in '/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/he_deployment.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n roles:\n - role: ovirt.hosted_engine_setup\n ^ here Expected results: RHHI ansible deployment should succeed without any error. --- Additional comment from RHEL Program Management on 2020-10-29 08:22:56 UTC --- This bug is automatically being proposed for a RHHI-V 1.8.z update at Red Hat Hyperconverged Infrastructure for Virtualization product, by setting the release flag 'rhiv‑1.8.z' to '?'. --- Additional comment from Gobinda Das on 2020-10-29 09:14:16 UTC --- I think this is hapening becasue we moved to ansible collection. @Prajith can you please check?
Upstream PR: https://github.com/gluster/gluster-ansible/pull/123
As the changes are reflected [node.example.com]#cat /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/he_deployment.yml --- - name: Deploy oVirt hosted engine hosts: localhost roles: - role: ovirt.ovirt.hosted_engine_setup - import_playbook: add_hosts_storage_domains.yml and not getting this error while HE deployment moving this bug as verifiedadditional info : gluster-ansible-roles-1.0.5-22.el8rhgs.noarch
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 (gluster-ansible bug fix and enhancement update), 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-2020:5220