Unable to add host to Redhat Virtualization manager

Posted on

I have installed Redhat 7 on bare metal and installed Redhat Virtualization manager 4.2. When I try to add the host it always fails with this error:

2018-09-26 16:57:57,320+05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [7bd3867e-1cb3-4793-9639-284106dfe9e1] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host Redhat: Failed to execute stage 'Setup validation': Cannot locate ovirt-host package, possible cause is incorrect channels.

yum repolist output:

rhel-7-server-ansible-2-rpms | 4.0 kB 00:00:00
rhel-7-server-rhv-4-mgmt-agent-rpms | 4.1 kB 00:00:00
rhel-7-server-rpms | 3.5 kB 00:00:00
repo id repo name status
rhel-7-server-ansible-2-rpms/x86_64 Red Hat Ansible Engine 2 RPMs for Red Hat Enterprise Linux 7 Server 34
rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64 Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs) 1,454
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 21,063

Any help is much appreciated.