Bug 1892589 - 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 ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-ansible
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: RHGS 3.5.z Async Update
Assignee: Prajith
QA Contact: milind
URL:
Whiteboard:
Depends On:
Blocks: 1892570
TreeView+ depends on / blocked
 
Reported: 2020-10-29 09:19 UTC by Gobinda Das
Modified: 2020-11-24 12:38 UTC (History)
8 users (show)

Fixed In Version: gluster-ansible-roles-1.0.5-22.el8rhgs
Doc Type: No Doc Update
Doc Text:
Clone Of: 1892570
Environment:
Last Closed: 2020-11-24 12:37:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5220 0 None None None 2020-11-24 12:38:06 UTC

Description Gobinda Das 2020-10-29 09:19:14 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.

--- 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?

Comment 1 Gobinda Das 2020-10-29 10:02:29 UTC
Upstream PR: https://github.com/gluster/gluster-ansible/pull/123

Comment 5 milind 2020-11-04 17:59:31 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 verifiedadditional info :
gluster-ansible-roles-1.0.5-22.el8rhgs.noarch

Comment 9 errata-xmlrpc 2020-11-24 12:37:41 UTC
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


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