How to use the suitable subscription in RHUI4

Solution In Progress - Updated -

Environment

RedHat Update Infrustracture 4

Issue

  • Is it requred to use Red Hat Update Infrastructure and RHEL Add-Ons for Providers subscription for CDS and HAProxy Server?
  • What is subscription is required forCDS and HAProxy Server?

Resolution

The RHUI subscription is required only on the RHUA node.
CDS and Proxy nodes need the CCSP subscription to enable the following repositories:
「Red Hat Update Infrastructure and RHEL Add-Ons for Providers」is not required for CDS and Proxy Node.

CDS:
 rhel-8-for-x86_64-baseos-rpms
 rhel-8-for-x86_64-appstream-rpms
 rhceph-5-tools-for-rhel-8-x86_64-rpms // If Ceph is used

Proxy:
 rhel-8-for-x86_64-baseos-rpms
 rhel-8-for-x86_64-appstream-rpms

Root Cause

The RHUI consumer type is only needed on the RHUA node.
Said 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 not the case in RHUI 3.

Diagnostic Steps

Regarding the description of applying for a subscription, There are differences between RHUA and CDS/HAProxy Node on documentaion.

RHUA

 subscription-manager register with using "--type=rhui" option and attach 「Red Hat Update Infrastructure and RHEL Add-Ons for Providers」 subscription.

CDS/HAProxy

 subscription-manager register with not using "--type=rhui" option and attach something available subscription not "Red Hat Update Infrastructure and RHEL Add-Ons for Providers".

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments