Bug 1892570 - RHHI ansible deployment is getting failed with ovirt.hosted_engine_setup was not found error
Summary: RHHI ansible deployment is getting failed with ovirt.hosted_engine_setup was ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: RHHI-V 1.8.z Batch Update 2
Assignee: Prajith
QA Contact: milind
URL:
Whiteboard:
Depends On: 1892589
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-29 08:22 UTC by Arthy Loganathan
Modified: 2020-12-01 06:58 UTC (History)
4 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-22.el8rhgs
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1892589 (view as bug list)
Environment:
Last Closed: 2020-12-01 06:58:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Arthy Loganathan 2020-10-29 08:22:48 UTC
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.

Comment 2 Gobinda Das 2020-10-29 09:14:16 UTC
I think this is hapening becasue we moved to ansible collection.
@Prajith can you please check?

Comment 5 milind 2020-11-04 17:56:59 UTC
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

Comment 6 milind 2020-11-04 17:57:47 UTC
additional info :
gluster-ansible-roles-1.0.5-22.el8rhgs.noarch


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