Bug 2126247 - --type=rhui is missing for installing CDS and HAProxy nodes [NEEDINFO]
Summary: --type=rhui is missing for installing CDS and HAProxy nodes
Keywords:
Status: POST
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Documentation
Version: 4.1.1
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ---
: ---
Assignee: Parth Shah
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-13 02:20 UTC by Alexey Masolov
Modified: 2023-08-16 03:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
pashah: needinfo? (mminar)
kfujii: needinfo? (pashah)


Attachments (Terms of Use)

Description Alexey Masolov 2022-09-13 02:20:35 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/4/html-single/installing_red_hat_update_infrastructure/index#assembly_setting-up-cds-nodes_installing-red-hat-update-infrastructure


Section Number and Name: 
6.1. Registering the CDS node
6.3. Enabling the required repositories on the CDS node
7.1. Registering the HAProxy node
7.3. Enabling the required repositories on the HAProxy node

Describe the issue: 
For non-SCA (simple content access) environments --type=rhui is required to subscribe to 'Red Hat Update Infrastructure and RHEL Add-Ons for Providers' using 'subscription-manager register'. It should be similar to the one used in 'Registering the RHUA node' section. 

If the node is registered with --type=rhui and attached to 'Red Hat Update Infrastructure and RHEL Add-Ons for Providers' then it should consume a different set of repositories:

=== with -rhui- suffix
rhel-8-for-x86_64-appstream-rhui-rpms
rhel-8-for-x86_64-baseos-rhui-rpms
rhceph-5-tools-for-rhel-8-x86_64-rhui-rpms
===

instead of:

===
rhel-8-for-x86_64-appstream-rpms
rhel-8-for-x86_64-baseos-rpms
rhceph-5-tools-for-rhel-8-x86_64-rpms
===

Suggestions for improvement: 
Correct the list of enabled repositories and the 'subscription-manager register' command in non-SCA sections accordingly.


Additional information:

Comment 1 Radek Bíba 2022-09-13 05:41:14 UTC
The RHUI consumer type is really only needed on the RHUA node. This consumer type provides access to the RHUI 4 repository, which contains the packages required on the RHUA node such as rhui-tools or various Pulpcore builds.

The CDS and HAProxy nodes don't run any software from the RHUI 4 repository. Therefore, they can be registered as the default consumer type and use the standard RHEL repositories.

Note that this was different in RHUI 3.

Comment 3 Alexey Masolov 2022-09-14 02:39:44 UTC
That would lead to using another subscription pool on the CDS and HAProxy nodes (anything that provides "Red Hat Enterprise Linux").

I reckon we need to streamline this procedure even more by using the same pool or consuming the content from the RHUA.


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