Bug 1892570
| Summary: | RHHI ansible deployment is getting failed with ovirt.hosted_engine_setup was not found error | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Arthy Loganathan <aloganat> | |
| Component: | rhhi | Assignee: | Prajith <pkesavap> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | milind <mwaykole> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | rhgs-3.5 | CC: | godas, pkesavap, rhs-bugs, sasundar | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHHI-V 1.8.z Batch Update 2 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | gluster-ansible-roles-1.0.5-22.el8rhgs | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1892589 (view as bug list) | Environment: | ||
| Last Closed: | 2020-12-01 06:58:35 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1892589 | |||
| Bug Blocks: | ||||
I think this is hapening becasue we moved to ansible collection. @Prajith can you please check? 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 verified
additional info : gluster-ansible-roles-1.0.5-22.el8rhgs.noarch |
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.