Bug 1838237

Summary: [Docs] RHVH repository 'rhvh-4-beta-for-rhel-8-x86_64-rpms' not available
Product: Red Hat Enterprise Virtualization Manager Reporter: Chetan Nagarkar <cnagarka>
Component: redhat-virtualization-hostAssignee: Nir Levy <nlevy>
Status: CLOSED NOTABUG QA Contact: Wei Wang <weiwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: cshao, lsvaty, mavital, nlevy, peyu, qiyuan, sbonazzo, weiwang, yaniwang
Target Milestone: ---   
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-05-21 07:10:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chetan Nagarkar 2020-05-20 17:21:40 UTC
Description of problem:

RHV 4.4 beta installation guide suggests to register RHV Host with repository 'rhvh-4-beta-for-rhel-8-x86_64-rpms' which is not available.

Where as 'rhvh-4-build-beta-for-rhel-8-x86_64-rpms' is available and can be attached to the RHV host.

Link: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/installing_red_hat_virtualization_as_a_standalone_manager_with_local_databases/installing_hosts_for_rhv_sm_localdb_deploy#Enabling_the_RHVH_repository_SM_localDB_deploy

Version-Release number of selected component (if applicable):
ovirt-host-4.4.0-0.5.beta.el8ev.x86_64
vdsm-4.40.13-1.el8ev.x86_64

How reproducible:

~~~
# yum repolist
Updating Subscription Management repositories.
repo id                                                                                                    repo name
rhel-8-for-x86_64-appstream-rpms                                                                           Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                                                                              Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)

# subscription-manager repos --enable=rhvh-4-beta-for-rhel-8-x86_64-rpms
Error: 'rhvh-4-beta-for-rhel-8-x86_64-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
#


# subscription-manager repos --enable=rhvh-4-build-beta-for-rhel-8-x86_64-rpms
Repository 'rhvh-4-build-beta-for-rhel-8-x86_64-rpms' is enabled for this system.

# yum repolist
Updating Subscription Management repositories.
repo id                                                                                                     repo name
rhel-8-for-x86_64-appstream-rpms                                                                            Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                                                                               Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
rhvh-4-build-beta-for-rhel-8-x86_64-rpms                                                                    Red Hat Virtualization Host Build Beta for RHEL 8 x86_64 (RPMs)
~~~

Actual results:


Expected results:


Additional info:

Comment 1 Wei Wang 2020-05-21 04:28:27 UTC
Please refer to https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/release_notes/sect-subscriptions, we can see

~~~~
Table 1.2. Red Hat Virtualization Host
Subscription Pool	Repository Name	                Repository Label	              Details

Red Hat Virtualization   Red Hat Virtualization Host   rhvh-4-beta-for-rhel-8-x86_64-rpms     Provides the redhat-virtualization-host-image-update package, which allows you to update the image installed on the host. 

~~~~
Table 1.4. Optional Subscriptions and Repositories
Subscription Pool	           Repository Name	                                   Repository Label	                       Details
Red Hat Enterprise Linux Server    Red Hat Virtualization Host Build for RHEL 8 x86_64     rhvh-4-build-beta-for-rhel-8-x86_64-rpms​    Provides the rhevm-guest-agent package for Red Hat Enterprise Linux 8 clients. 

~~~

So this is not a bug with document, we have had a bug to trace the repo issue of RHVH 4.4. https://bugzilla.redhat.com/show_bug.cgi?id=1779459
Try to enable the repo "rhvh-4-beta-for-rhel-8-x86_64-rpms", it can be enabled successfully now, but the packages in the repo are still not ready.
[root@lenovo-sr630-09 ~]# imgbase w
You are on rhvh-4.4.0.21-0.20200518.0+1
[root@lenovo-sr630-09 ~]# subscription-manager repos --list-enabled
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhvh-4-beta-for-rhel-8-x86_64-rpms
Repo Name: Red Hat Virtualization Host Beta for RHEL 8 x86_64 (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/layered/rhel8/x86_64/rhvh/4/os
Enabled:   1

QE suggest that this is closed as not a bug.