Subscription Manager Always Shows "Not Subscribed"

Latest response

I have followed just about every troubleshooting guide available and still cannot get subscriptions to attach properly. Here is the latest, I started by removing the subscription in the customer portal and then did the following (username and pool ids blanked for obvious reasons). This is an RHEL 6.4 system and the licenses are for RHEL Server for Compute Nodes and there are 33 systems doing this same thing. I will gladly sanitize any longs and upload them on request.

[root@node01 rhsm]# subscription-manager identity --regenerate --force
Username: mpotter@pcpcdirect
Password:
Identity certificate has been regenerated.
[root@node01 rhsm]# subscription-manager unregister
System has been un-registered.
[root@node01 rhsm]# subscription-manager clean
All local data removed
[root@node01 rhsm]# subscription-manager register
Username:
Password:
The system has been registered with id:
[root@node01 rhsm]# subscription-manager list --available --all
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server for HPC Compute Node, Self-support (1-2 sockets) (Up to 1 guest) (L3-only)
SKU: RH0636557F3
Pool Id:
Quantity: 1
Service Level: Self-Support
Service Type: L3
Multi-Entitlement: No
Ends: 05/20/2017
System Type: Physical

Subscription Name: Red Hat Enterprise Linux Server for HPC Compute Node, Self-support (1-2 sockets) (Up to 1 guest) (L3-only)
SKU: RH0636557F3
Pool Id:
Quantity: 21
Service Level: Self-Support
Service Type: L3
Multi-Entitlement: No
Ends: 03/15/2019
System Type: Physical

[root@node01 rhsm]# subscription-manager attach --pool= (this system is from the pool with only one available)
Successfully attached a subscription for: Red Hat Enterprise Linux Server for HPC Compute Node, Self-support (1-2 sockets) (Up to 1 guest) (L3-only)
[root@node01 rhsm]# subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux Server
Product ID: 69
Version: 6.4
Arch: x86_64
Status: Not Subscribed
Starts:

The time/date on the server have been synced recently, "rhsmcertd" is running and has been restarted. Regardless of what I do I cannot get any of the systems that should attach to this subscription to attach properly. Any help would be greatly appreciated.

Responses

It seems your system is correctly using your subscription.

Try this command to be sure:

subscription-manager list --consumed

You can also check which repositories you have access (you hsould see rhel repositories here - e.g. rhel-6-server-rpms):

subscription-manager repos

No consumed subscription pools were found

Hi M Z,

The original post was dated way back 2016 and not sure if that was fixed and how since there were no further comments about that.

Are you referring to the same issue type? If no consumed pools found then that could say that there are no active subscriptions found. You may better write it on a new thread with all required details for better visibility and reach.

As an initial hint, I'd suggest that you may try to un-register, remove all cached subscription data from system and then re-register, test if that helps you. You might have done this already, but not sure.

# subscription-manager remove --all
# subscription-manager unregister
# subscription-manager clean
# yum clean all
# rm -rf /var/cache/yum/*

# subscription-manager register
# subscription-manager attach --auto

I hope this helps.

Hello, there's an article providing many links regarding installation of head and compute nodes on RHEL 6 and 7. Maybe some of them could be useful for you.

https://access.redhat.com/solutions/650333

The system has been registered with ID: 77fac909-5f55-4f6f-b9e5-5f6bd49b1908 The registered system name is: ubanquity-template [root@ubanquity-template ~]# 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. [root@ubanquity-template ~]# 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. [root@ubanquity-template ~]#

The system has been registered with ID: 77fac909-5f55-4f6f-b9e5-5f6bd49b1908 The registered system name is: ubanquity-template [root@ubanquity-template ~]# 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. [root@ubanquity-template ~]# 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. [root@ubanquity-template ~]#