Error message while `yum update' "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions"

Solution Unverified - Updated -

Environment

  • Red Hat Subscription Manager
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Issue

  • Error message while yum update:
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions
  • From rhsm.log
[DEBUG] subscription-manager @identity.py:130 - Loading consumer info from identity certificates.
[DEBUG] subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem
[DEBUG] subscription-manager @connection.py:450 - Making request: GET /subscription/status
[DEBUG] subscription-manager @connection.py:473 - Response: status=200
[WARNING] subscription-manager @connection.py:477 - Clock skew detected, please check your system time
[INFO] subscription-manager @managercli.py:299 - Server Versions: {'candlepin': '0.9.26-1', 'server-type': 'Red Hat Subscription Management'}
subscription-manager @connection.py:418 - Loaded CA certificates from /etc/rhsm/ca/: candlepin-stage.pem, redhat-uep.pem
subscription-manager @connection.py:450 - Making request: GET /subscription/
subscription-manager @connection.py:473 - Response: status=200
  • Issue shown:
[root@host]# yum update
Loaded plugins: product-id, subscription-manager
This system is registered to Red Hat Subscription Management, but is not 
receiving updates. You can use subscription-manager to assign subscriptions.
There are no enabled repos.
  Run "yum repolist all" to see the repos you have.
  You can enable repos with yum-config-manager --enable <repo>
  • On portal system status showing Subscribed.

Resolution

# subscription-manager attach --auto

Root Cause

  • Wrong date and time or subscription has not attached on system.

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.

28 Comments

I have verified that my RHEL 6.6 x86_64 system suffering from this issue is indeed properly syncing time to the NTP server, matching our other servers, etc... The issue persists.

same issue here on RHEL 7.1

same issue on RHEL 7.1

The resolution in this case doesn't apply to subscription for Virtual Datacenters.

Redhat is the worst.

yes you are correct comparing to debian os red hat is worst

Even I am facing the same issue.. today only I have subscribed for 30 days Evolution but it is not syncing an giving me warning that " Not subscribed "

Same issue here on RHEL 7.2

[root@localhost ]# subscription-manager attach --auto

Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed

Unable to find available subscriptions for all your installed products.

[DEBUG] subscription-manager:43467 @connection.py:475 - Loaded CA certificates from /etc/rhsm/ca/: redhat-uep.pem [DEBUG] subscription-manager:43467 @connection.py:523 - Making request: GET /subscription/consumers/969c0fed-b214-4cfa-a4ad-fcb5c5acc463 [DEBUG] subscription-manager:43467 @connection.py:555 - Response: status=200, requestUuid=954d562c-80c5-4c1a-9ca1-47cfdcc6338a [DEBUG] subscription-manager:43467 @cache.py:110 - Wrote cache: /var/lib/rhsm/cache/product_status.json [DEBUG] subscription-manager:43467 @cache.py:273 - Started thread to write cache: /var/lib/rhsm/cache/product_status.json [INFO] subscription-manager:43467 @managercli.py:201 - Attempted to auto-attach/heal the system. [INFO] rhsmd:43505 @rhsmd:229 - rhsmd started [DEBUG] rhsmd:43505 @rhsmd:184 - D-Bus interface com.redhat.SubscriptionManager.EntitlementStatus.update_status called with status = 1 [DEBUG] rhsmd:43505 @identity.py:131 - Loading consumer info from identity certificates. [DEBUG] rhsmd:43505 @rhsmd:152 - D-Bus signal com.redhat.SubscriptionManager.EntitlementStatus.entitlement_status_changed emitted

Worked on RHEL-7.

Worked for me on RHEL7

Same for REHL7.2. I'm register but i get : Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed

Unable to find available subscriptions for all your installed products.

Any solutions? Already try subscription-manager attach --auto

In my case, using Red Hat Virtual Datacenter subscription, the issue was with the virt-who service, which was fixed with a service reload. I verified the visibility of the subscription from the server, subscription-manager list --available, and the web portal before doing the suggested solution, subscription-manager attach --auto. It worked like a charm.

Would be great if the error message would already suggest the right solution.

So I manage to subscribe the 30 Day Self-Supported Red Hat OpenShift Container Platform, 2-Core Evaluation on my first 4 RHEL 7.3, but latter on my new following VMs, After I register, it shows subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Invalid

Red Hat OpenShift Container Platform: - Not supported by a valid subscription.

Red Hat Enterprise Linux Server: - Not supported by a valid subscription.

I tried download the certificate manually on https://access.redhat.com/labs/rhpc/ still got no luck

subscription-manager attach --auto Fixed this for me, thanks!

subscription-manager attach --auto did the trick

I have subscribed successfully but while I am trying do yum repolist all then getting below error pls check it and let me know ASAP.

yum repolist all Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager repolist: 0

Finding this subscription and licensing system to be convoluted... Documentation spotty

Still broken, after all of the suggestions here. System has proper subscription start/end dates, and is labeled as subscribed, yet still happening!

[root@cherry pluginconf.d]# subscription-manager list

+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Developer Toolset (for RHEL Server)
Product ID:     176
Version:        2.1
Arch:           x86_64
Status:         Subscribed
Status Details:
Starts:         01/01/2018
Ends:           01/01/2019

Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        6.8
Arch:           x86_64
Status:         Subscribed
Status Details:
Starts:         01/01/2018
Ends:           01/01/2019

[root@cherry pluginconf.d]# yum clean all
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security,
              : subscription-manager
This system is registered to Red Hat Subscription Management, but is not receivi                                                                                                              ng updates. You can use subscription-manager to assign subscriptions.

This fixed my problem. Thank you.

same error after this. Really hate subscription manager

Sorry, this solution is NOT working. the link to another article just makes it worse.

My final fix was: 1) reinitialize NTPd, and confirm time sync. "ntpq -p" gives you the status. Still need to manually verify times are good. 2) Un-register from RHSM. 3) REBOOT. Why? IDK, but that's what I needed to do. 4) Re-Register with Subscription manager - which then worked.

did'n resolve the issue

My issue resolved after running the command in resolution section.

Steps: 1. Install RHEL 7.4 in VirtualBox 2. Accept EULA 3. subscription-manager register - provide login name/password of developer's subscription 4. yum update - error (This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.) 5. run subscription-manager attach --auto 6. yum repolist all - success :) 7. yum update - success :)

Satellite is rubbish

This helped to me:

  1. Login to https://access.redhat.com/management/ You must see 1 Active Subscription. If not go to 2

  2. Reactivate via https://developers.redhat.com/login/

  3. Check your username via user id https://access.redhat.com/user/xyz . Please note that email cannot be used in command "subscription-manager register --username your username fro point "

  4. Follow https://developers.redhat.com/articles/renew-your-red-hat-developer-program-subscription/

e.g. "subscription-manager register --username your username from point 3"

This worked for me.

subscription-manager attach --auto works for me on RHEL6.