Bug 1822089
Summary: | Task "ovirt.hosted_engine_setup : Install oVirt Hosted Engine packages" fail during hosted engine deployment via cockpit | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Wei Wang <weiwang> | ||||||
Component: | redhat-virtualization-host | Assignee: | Nir Levy <nlevy> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Wei Wang <weiwang> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 4.4.0 | CC: | asrodrig, bugs, cshao, eslutsky, lsurette, mavital, mtessun, pelauter, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang, yturgema | ||||||
Target Milestone: | ovirt-4.4.1 | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-08-04 16:22:45 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 1677181 [details]
log files
This seems to be a temporary glitch in rhel-8-for-x86_64-appstream-rpms channel. But why was this repo enabled on rhvh-4.4.0.16-0.20200401.0 ? Moving to downstream. (In reply to Sandro Bonazzola from comment #2) > This seems to be a temporary glitch in rhel-8-for-x86_64-appstream-rpms > channel. But why was this repo enabled on rhvh-4.4.0.16-0.20200401.0 ? > Moving to downstream. Only register to RHSM, not executing any enable operation. It will has pre-enabled some repos. [root@hp-dlxxxx-xxxx var]# subscription-manager repos --list-enabled +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-8-for-x86_64-baseos-rpms Repo Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/baseos/os Enabled: 1 Repo ID: rhel-8-for-x86_64-appstream-rpms Repo Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/appstream/os Enabled: 1 there is no rhvh 4.4 of rhel 8 repo can be enabled in the repos list. channels mentioned in comment #3 shouldn't be auto enabled, seems like a configuration issue for the product detected. Moving to RHV-H. Looking at c#3 I believe the reason is that RHVH 4.4 for RHEL 8 is not yet released. As such subscription manager attaches the "next available" sensible SKU - which is a RHEL 8 SKU. I would retest once we have official RHVH 4.4 repos available somewhere. Cheers, Martin What does "subscription-manager list" show? I expect this is showing a RHEL 8 host instead of RHVH 4.4 - RHVH 4.3 does show it correctly (see below), so RHVH 4.4 should also be a RHV Host - but there are no repos for RHEL8, so I expect it shows as a RHEL 8 system. # subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Virtualization Host Product ID: 328 Version: 4.3 Arch: x86_64 Status: Subscribed @Wei: Please also see my previous comment. (In reply to Martin Tessun from comment #10) > What does "subscription-manager list" show? I expect this is showing a RHEL > 8 host instead of RHVH 4.4 - RHVH 4.3 does show it correctly (see below), so > RHVH 4.4 should also be a RHV Host - but there are no repos for RHEL8, so I > expect it shows as a RHEL 8 system. > > # subscription-manager list > +-------------------------------------------+ > Installed Product Status > +-------------------------------------------+ > Product Name: Red Hat Virtualization Host > Product ID: 328 > Version: 4.3 > Arch: x86_64 > Status: Subscribed > > @Wei: Please also see my previous comment. It show two products. [root@hp-dlxxxgx-xx ~]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Virtualization Host Product ID: 328 Version: 4.4 Arch: x86_64 Status: Subscribed Status Details: Starts: 03/03/2014 Ends: 01/01/2022 Product Name: Red Hat Enterprise Linux for x86_64 Product ID: 479 Version: 8.2 Arch: x86_64 Status: Subscribed Status Details: Starts: 03/03/2014 Ends: 01/01/2022 Please retest with latest build, should be already fixed by changing the pem files shipped in the build Test with rhvh-4.4.1.1-0.20200603.0, [root@hp-dl388g9-04 ~]# 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: 03/03/2014 Ends: 01/01/2022 Hosted engine deploy successfully. Bug is fixed, move it to "VERIFIED" 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 (RHV Host (redhat-virtualization-host) 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/RHEA-2020:3316 |
Created attachment 1677176 [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.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-appstream-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.0.16-0.20200401.0 cockpit-bridge-211.3-1.el8.x86_64 cockpit-ws-211.3-1.el8.x86_64 cockpit-dashboard-211.3-1.el8.noarch subscription-manager-cockpit-1.26.15-1.el8.noarch cockpit-storaged-211.3-1.el8.noarch cockpit-211.3-1.el8.x86_64 cockpit-ovirt-dashboard-0.14.3-1.el8ev.noarch cockpit-system-211.3-1.el8.noarch ovirt-hosted-engine-setup-2.4.3-2.el8ev.noarch ovirt-hosted-engine-ha-2.4.2-1.el8ev.noarch rhvm-appliance-4.4-20200403.0.el8ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Clean install rhvh-4.4.0.16-0.20200401.0 2. subscription-manager register successful 3. insights-client --register successful 4. Deploy hosted engine via cockpit Actual results: Task "ovirt.hosted_engine_setup : Install oVirt Hosted Engine packages" fail during hosted engine deployment via cockpit Expected results: Hosted engine deploy successful without error Additional info: