Bug 1909644 - HE deploy failed with "Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-beta-rpms': Cannot download repomd.xml
Summary: HE deploy failed with "Failed to download metadata for repo 'rhel-8-for-x86_6...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: redhat-virtualization-host
Version: 4.4.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.4-1
: 4.4.4
Assignee: Nir Levy
QA Contact: Wei Wang
URL:
Whiteboard:
: 1916358 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-21 09:34 UTC by Wei Wang
Modified: 2024-03-25 17:38 UTC (History)
12 users (show)

Fixed In Version: redhat-virtualization-host-4.4.4-20210121.0.el8_3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-03 16:13:15 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:
weiwang: testing_plan_complete+


Attachments (Terms of Use)
issue picture (57.10 KB, image/png)
2020-12-21 09:34 UTC, Wei Wang
no flags Details
issue log files (10.25 MB, application/gzip)
2020-12-21 09:40 UTC, Wei Wang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5704691 0 None None None 2021-01-19 08:41:54 UTC
Red Hat Product Errata RHSA-2021:0401 0 None None None 2021-02-03 16:13:51 UTC

Description Wei Wang 2020-12-21 09:34:52 UTC
Created attachment 1740916 [details]
issue picture

Description of problem:
Deploy hosted engine via cockpit, after subscription-manager and insights-client registered. Task "ovirt.hosted_engine_setup : Install oVirt Hosted Engine packages" displays error message.
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Install oVirt Hosted Engine packages]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 10, "changed": false, "msg": "Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-beta-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

Version-Release number of selected component (if applicable):
RHVH-4.4-20201217.0-RHVH-x86_64-dvd1.iso
cockpit-ws-224.2-1.el8.x86_64
cockpit-224.2-1.el8.x86_64
cockpit-ovirt-dashboard-0.14.17-1.el8ev.noarch
cockpit-bridge-224.2-1.el8.x86_64
cockpit-system-224.2-1.el8.noarch
cockpit-storaged-224.2-1.el8.noarch
subscription-manager-cockpit-1.27.16-1.el8.noarch
cockpit-dashboard-224.2-1.el8.noarch
ovirt-hosted-engine-setup-2.4.9-2.el8ev.noarch
ovirt-hosted-engine-ha-2.4.5-1.el8ev.noarch
rhvm-appliance-4.4-20201117.0.el8ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Clean install RHVH-4.4-20201217.0-RHVH-x86_64-dvd1.iso
2. subscription-manager register successful
3. insights-client --register successful
4. Deploy hosted engine via cockpit

Actual results:
"Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-beta-rpms': Cannot download repomd.xml:" error occurs and hosted engine deploy fail.

Expected results:
Hosted engine deploy successful without error

Additional info:

Comment 1 Wei Wang 2020-12-21 09:40:08 UTC
Created attachment 1740917 [details]
issue log files

Comment 2 Wei Wang 2020-12-21 09:49:13 UTC
Only register to RHSM, not executing any enable operation. It will has pre-enabled some repos.
rhvm-appliance has been installed successfully.

[root@hp-dl388g9-04 var]# subscription-manager list
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Virtualization Host
Product ID:     328
Version:        4
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         12/15/2020
Ends:           02/13/2021

Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.3 Beta
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         03/20/2020
Ends:           03/20/2021

Comment 3 Sandro Bonazzola 2020-12-22 08:44:12 UTC
Martin this seems a SKU issue, can you please check?

Comment 4 Martin Tessun 2021-01-11 12:58:37 UTC
Can you let me know which SKU you are using.

Two observations that I find suspicious:
1. There is a RHEL repo subscribed
2. The RHEL repo is even Beta.

Thanks!
Martin

Comment 5 Wei Wang 2021-01-12 04:58:44 UTC
(In reply to Martin Tessun from comment #4)
> Can you let me know which SKU you are using.
1. subscription-manager register --username=xxx --password=xxx --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: 3f27356a-bc0c-4e71-ad13-3cb73f241219
The registered system name is: hp-dl388g9-04.lab.eng.pek2.redhat.com
Installed Product Current Status:
Product Name: Red Hat Virtualization Host
Status:       Subscribed

Product Name: Red Hat Enterprise Linux for x86_64 Beta
Status:       Subscribed

2. subscription-manager list --consumed|grep "SKU:"
SKU:                 RH00069
SKU:                 RS00197


> 
> Two observations that I find suspicious:
> 1. There is a RHEL repo subscribed
> 2. The RHEL repo is even Beta.
> 
I have a closed bug for reference which is similar with this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1822089

> Thanks!
> Martin

Comment 6 Sandro Bonazzola 2021-01-19 08:41:54 UTC
*** Bug 1916358 has been marked as a duplicate of this bug. ***

Comment 9 Wei Wang 2021-01-22 10:38:19 UTC
Test with RHVH-4.4-20210121.1-RHVH-x86_64-dvd1.iso, bug is fixed, change it to "VERIFIED"

Comment 11 errata-xmlrpc 2021-02-03 16:13:15 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 (Important: Red Hat Virtualization Host security bug fix and enhancement update [ovirt-4.4.4]), 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/RHSA-2021:0401


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