Basic questions on Red Hat Subscription Management

kumar kaushal 176 Reputation points Microsoft Employee
2021-06-06T15:55:21.157+00:00

I am new Guy to linux and just starting to learn it . I have some questions with which i need help with .

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

I would like to understand more about as to how Subscription management works for azure Linux VM;s?

Is that once we create a Azure VM with RHEL8 and is that it basically gets registered with RED hat subscription management server ?
When i run the below command at the terminal , i get the status as Unknown for the Azure Linux VM and this is my working test VM . Is this expected output ?

sudo subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Unknown

System Purpose Status: Unknown

sudo subscription-manager list --consumed
No consumed subscription pools were found.

WARNING

The yum/dnf plugins: /etc/yum/pluginconf.d/subscription-manager.conf were automatically enabled for the benefit of Red Hat Subscription Management. If not desired, use "subscription-manager config --rhsm.auto_enable_yum_plugins=0" to block this behavior.

Would also like to understand more about the above warning message ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,724 questions
0 comments No comments
{count} votes

Accepted answer
  1. prmanhas-MSFT 17,936 Reputation points Microsoft Employee
    2021-06-07T09:51:33.137+00:00

    @kumar kaushal Apologies for the delay in response and all the inconvenience caused because of the issue. Red Hat Enterprise Linux (RHEL) images are available in Azure via a pay-as-you-go or bring-your-own-subscription (BYOS) (Red Hat Gold Image) model.

    As mentioned here for Pay-As-You-Go Azure offers a variety of RHEL pay-as-you-go images. These images come properly entitled for RHEL and are attached to a source of updates (Red Hat Update Infrastructure). These images charge a premium fee for the RHEL entitlement and updates.

    Similarly for BYOS as mentioned here Azure also offers Red Hat Gold Images (rhel-byos). These images might be useful to customers who have existing Red Hat subscriptions and want to use them in Azure. You're required to enable your existing Red Hat subscriptions for Red Hat Cloud Access before you can use them in Azure. Access to these images is granted automatically when your Red Hat subscriptions are enabled for Cloud Access and meet the eligibility requirements.

    Hence the VM wont be registered automatically on Subscription Management for RedHat but you can chose between above two.

    In order to take benefit of BYOS you can refer to this to understand How Microsoft Azure Customers Can Access the Red Hat Customer Portal.

    This official doc from Microsoft can be beneficial for you.

    For the given command sudo subscription-manager status
    +-------------------------------------------+
    System Status Details
    +-------------------------------------------+
    Overall Status: Unknown

    System Purpose Status: Unknown

    This is the expected result when Redhat server is not registered with Redhat Subscription. If the server is regsitered you get something like below:

    sudo subscription-manager list

    +-------------------------------------------+
    Installed Product Status
    +-------------------------------------------+
    Product Name: Red Hat Enterprise Linux Server
    Product ID: 75
    Version: 7.7
    Arch: x86_64
    Status: Subscribed
    Status Details:
    Starts:
    Ends:

    sudo subscription-manager status

    +-------------------------------------------+
    System Status Details
    +-------------------------------------------+
    Overall Status: Current

    sudo subscription-manager identity

    system identity:
    name: <fqdn>
    org name: <7 numbers>
    org ID: <7 numbers>

    As mentioned here as well you are getting the warning since subscription manager is not registered.Red Hat Subscription Manager works with yum. Subscription Manager has its own yum plug-ins: product-id for subscription-related information for products and subscription-manager which is used for the content repositories.

    Hope it helps!!!

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.