Bug 2024142 - Hosted engine deployment fails with error as available repositories
Summary: Hosted engine deployment fails with error as available repositories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhvm-setup-plugins
Version: 4.4.9
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ovirt-4.4.9-1
: ---
Assignee: Yedidyah Bar David
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 2024137
TreeView+ depends on / blocked
 
Reported: 2021-11-17 12:19 UTC by SATHEESARAN
Modified: 2021-12-01 21:36 UTC (History)
10 users (show)

Fixed In Version: rhvm-setup-plugins-4.4.3-1, rhvm-appliance-4.4-20211117.1
Doc Type: Bug Fix
Doc Text:
Previously the Hosted Engine (HE) deployment would fail because there were no available repositories during deployment. In the current, release the rhvm-setup-plugin has been removed to resolve the issue.
Clone Of: 2024137
Environment:
Last Closed: 2021-11-19 19:22:10 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44043 0 None None None 2021-11-17 12:20:16 UTC
Red Hat Product Errata RHBA-2021:4752 0 None None None 2021-11-19 19:22:12 UTC

Description SATHEESARAN 2021-11-17 12:19:23 UTC
Description of problem:
-----------------------
Hosted Engine (HE) deployment fails as there are no available repositories during deployment

<snip>
 "[ ERROR ] ['ovirt-engine-setup-4.4.9.5-0.1.el8ev.noarch'] cannot be found in enabled repositories.", " Seems like required channels/repositories are not available on the system.", "[ ERROR ] Failed to execute stage 'Environment customization': Setup cannot be found in enabled repositories.",
</snip>

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHV-4.4.9
rhvm-appliance-4.4-20211111.1.el8ev.x86_64.rpm	

How reproducible:
-----------------
100%

Steps to Reproduce:
--------------------
1. Start RHHI-V deployment either from cockpit or from CLI ( ansible based automated deployment )

Actual results:
---------------
Gluster configurations and volumes are created, but the HE deployment fails with the error
<snip>
 "[ ERROR ] ['ovirt-engine-setup-4.4.9.5-0.1.el8ev.noarch'] cannot be found in enabled repositories.", " Seems like required channels/repositories are not available on the system.", "[ ERROR ] Failed to execute stage 'Environment customization': Setup cannot be found in enabled repositories.",
</snip>

Expected results:
------------------
HE Deployment should be successful

Additional information
-----------------------
This bug came in as a regression because of the bug https://bugzilla.redhat.com/show_bug.cgi?id=2003441 as analyzed by dev team

HE deployment is successful with RHV 4.4.8 appliance(rhvm-appliance-4.4-20210827.0.el8ev.x86_64.rpm) though

Comment 1 SATHEESARAN 2021-11-17 12:21:46 UTC
This issue is a blocker for RHHI-V deployment as the HE deployment fails with the error as mentioned in comment0
HE deployment fails for IPV4 based deployment initiated either from cockpit or using 'hosted-engine --deploy'

Comment 3 Yedidyah Bar David 2021-11-17 13:44:30 UTC
QE: Flow is:

- Install RHV engine 4.4.9 (including otopi>=1.9.6, rhvm-setup-plugins)
- Disable all repos (or at least those that provide ovirt-engine-setup)
- engine-setup

With a broken version it will fail as in comment 0.
With a fixed build it will not.

The fix for current bug is to just remove from rhvm-setup-plugin the code doing this test, as it's currently not needed. For a better future replacement I opened bug 2024157.

Comment 8 SATHEESARAN 2021-11-18 07:43:17 UTC
Verified this issue with the version of rhvm-appliance-4.4-20211117.1
and RHVH-4.4-20211118.0-RHVH-x86_64-dvd1.iso

RHHI-V deployment is successful

Note: The deployment is carried out with IPv4 based hosts

Comment 9 Lukas Svaty 2021-11-19 09:02:15 UTC
Based on comment #8 moving to VERIFIED

Comment 10 SATHEESARAN 2021-11-19 11:37:49 UTC
I have also verified it with IPV6 based deployment and hosted engine deployment was successful

Comment 12 errata-xmlrpc 2021-11-19 19:22:10 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 (0-day RHV Manager (rhvm-setup-plugins) [ovirt-4.4.9]), 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-2021:4752


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