How to enable a product in a subscription of RHEL 7.5?

Rei asked:

How can I install a product displayed by the output of subscription-manager list --consumed?

Right now, I have only one product installed on my Red Hat Enterprise Linux 7.5.

$ sudo subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for Power, little endian
Product ID:     279
Version:        7.5
Arch:           ppc64le
Status:         Subscribed
Status Details:
Starts:         10/07/2018
Ends:           10/07/2019

The subscription-manager list --consumed command shows other products, one of which I would like to install.

$ sudo subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat OpenShift, Standard Support (10 Cores, NFR, Partner
                     Only)
Provides:            Red Hat OpenShift Container Platform
                     Red Hat Enterprise Linux for Power, little endian -
                     Extended Update Support
...snip...
                     Red Hat Enterprise Linux for Power 9
...snip...

Since “Red Hat Enterprise Linux for Power 9” is in the list, I already have a license to install it, correct? Is there any way to enable it by, say, subscription-manager, so that the corresponding repos are added to /etc/yum.repos.d/redhat.repo and the packages can be installed with yum? Or, do I have to obtain a license key of the product by any other means?

My system is RHEL 7.5 POWER 9 ppc64le, but I suppose this is a platform-independent question.

My answer:


Not having access to RHEL on POWER, nor your specific partner subscription, I’ll just answer this in the general case.

First, you purchase or obtain a RHEL subscription from Red Hat. Each of these has a different name. Yours is named “Red Hat OpenShift, Standard Support (10 Cores, NFR, Partner Only)”.

Each subscription contains one or more products, and these are listed in the subscription-manager list command. For example, among others you have “Red Hat OpenShift Container Platform” and “Red Hat Enterprise Linux for Power, little endian – Extended Update Support”.

Each product grants access to one or more repos. And these repos actually contain the software. You can list all the available repos with subscription-manager repos and --list-enabled or --list-disabled.

I think one point of your confusion is that you are using a narrow terminal and subscription-manager continues a long title onto the next line. Thus where you are seeing “Red Hat Enterprise Linux for Power 9” this is most likely the end of a much longer name that wrapped from the previous line. Maximize your terminal window and try again.

For example, compare these outputs from a narrow versus wide terminal:

Provides:            Red Hat Enterprise Linux High Availability - Update
                     Services for SAP Solutions

versus

Provides:            Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.