RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1664538 - Subscription manager status shows "Not supported by a valid subscription." even after successful subscribed message.
Summary: Subscription manager status shows "Not supported by a valid subscription." ev...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-09 05:28 UTC by vinay.gupta
Modified: 2019-01-09 23:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-09 23:18:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
available subscriptions/pools (23.91 KB, text/plain)
2019-01-09 05:28 UTC, vinay.gupta
no flags Details

Description vinay.gupta 2019-01-09 05:28:09 UTC
Created attachment 1519345 [details]
available subscriptions/pools

Description of problem:
Subscription manager status shows "Not supported by a valid subscription." even after successful subscribed message. 

Version-Release number of selected component (if applicable):


How reproducible:
100% on my setup with RHEL 8 Beta/Snap1/Snap2


Steps to Reproduce:
1. subscription-manager register --username=<username> --password=<password> --baseurl=cdn.stage.redhat.com --serverurl subscription.rhsm.redhat.com
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: 58673fba-c7ef-4557-a76a-26818d467c77
2. Queried the available subscription using: subscription-manager list --available
3. Attached to available pools successfully: 
subscription-manager attach --pool=8a85f99a67cce4a60167cd4f4cbb2e2f
Successfully attached a subscription for: Red Hat Beta Access
4. subscription-manager list status shows "Not supported by a valid subscription."
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
Product ID:     230
Version:        8.0 HTB
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Actual results:
5. yum install for any package is unsuccessful.

Expected results:
Status should be a valid subscription and yum should be able to install the packages and get updates.

Additional info:
Also, I tried to use the url subscription.rhsm.stage.redhat.com mentioned in the RHEL PVP configure guide and it fails with:
# subscription-manager register --username=<username> --password=<Password> --baseurl=cdn.stage.redhat.com --serverurl subscription.rhsm.stage.redhat.com
Unable to reach the server at subscription.rhsm.stage.redhat.com:443/subscription

Comment 1 Craig Donnelly 2019-01-09 05:43:12 UTC
Hello,

The stage addresses are for internal use only, and are not accessible externally.
You would need to use the normal URLs for the CDN and Subscription service (subscription.rhsm.redhat.com / cdn.redhat.com).

Please verify that the subscription you have attached the pool for is not a future-dated subscription, and is currently valid by locating the start date on the subscription via `subscription-manager list --consumed`, and also verify that the `date` is current/correct on this system.

There are not currently any known issues preventing obtaining content when using the proper endpoints and valid beta subscriptions at this time, and you might find a quicker resolution by opening a case with Red Hat Technical Support. Utilizing the latest available Beta today, I have not had any issues with registration, entitlement, and content retrieval.

You left off the version of subscription-manager you are using from the bug report.
If you continue to have issues, please provide the following:

# rpm -q subscription-manager
# subscription-manager list --consumed
# date

Thanks.

Comment 2 vinay.gupta 2019-01-09 05:50:03 UTC
Hi Craig,

Please find the asked information below:
[root@h098 ~]# rpm -q subscription-manager
subscription-manager-1.23.8-4.el8.x86_64
[root@h098 ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat OpenStack Platform, Self-Support (4 Sockets, NFR, Partner Only)
Provides:            Red Hat OpenStack
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Enterprise Linux Fast Datapath (for RHEL Server for IBM Power LE)
                     Red Hat Enterprise Linux Fast Datapath Beta for Power, little endian
                     Red Hat Single Sign-On
                     Red Hat Software Collections (for RHEL Server for IBM Power LE)
                     Red Hat Enterprise Linux for Real Time for NFV
                     Red Hat Software Collections Beta (for RHEL Server for IBM Power LE)
                     Red Hat Enterprise MRG Messaging
                     dotNET on RHEL (for RHEL Server)
                     dotNET on RHEL Beta (for RHEL Server)
                     Red Hat Beta
                     Red Hat Ceph Storage
                     Red Hat Enterprise Linux High Availability (for IBM Power LE)
                     Red Hat Certification (for RHEL Server)
                     Red Hat Enterprise Linux High Availability (for IBM Power LE) - Extended Update Support
                     Red Hat Enterprise Linux Server (for IBM Power LE) - Update Services for SAP Solutions
                     Red Hat Ceph Storage Calamari
                     Red Hat OpenStack Beta
                     Red Hat Ceph Storage MON
                     Red Hat OpenStack Beta Certification Test Suite
                     Red Hat CloudForms
                     Red Hat Enterprise Linux for Power 9
                     Red Hat Enterprise Linux FDIO Early Access (RHEL 7 Server)
                     Red Hat Software Collections (for RHEL Server)
                     Red Hat Enterprise Linux FDIO (RHEL 7 Server)
                     Red Hat CloudForms Beta
                     Red Hat Enterprise Linux Fast Datapath Beta for x86_64
                     Red Hat Software Collections Beta (for RHEL Server)
                     Red Hat OpenStack for IBM Power
                     Red Hat Developer Tools (for RHEL Server for IBM Power LE)
                     Red Hat OpenStack Beta for IBM Power LE
                     Red Hat Developer Tools Beta (for RHEL Server for IBM Power LE)
                     Red Hat OpenStack Certification Test Suite
                     Red Hat Enterprise Linux Fast Datapath
                     Red Hat Enterprise Linux High Availability (for RHEL Server)
                     Red Hat Ansible Engine
                     Red Hat Enterprise Linux Load Balancer (for RHEL Server)
                     Red Hat Enterprise Linux Server
SKU:                 SER0504
Contract:            11711322
Account:             5745649
Serial:              2758178919823219770
Pool ID:             8a85f98c648413ef01648a87cc3b2c20
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Self-Support
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              07/11/2018
Ends:                07/10/2019
System Type:         Physical

Subscription Name:   Red Hat Beta Access
Provides:            Red Hat Enterprise Linux for Power, little endian Beta
                     Red Hat CodeReady Linux Builder for x86_64 Beta
                     Red Hat Enterprise Linux for ARM 64 Beta
                     Red Hat CodeReady Linux Builder for Power, little endian Beta
                     Red Hat Enterprise Linux Fast Datapath Beta for Power, little endian
                     Red Hat Enterprise Linux for x86_64 Beta
                     Red Hat CodeReady Linux Builder for ARM 64 Beta
                     Red Hat Enterprise Linux High Availability Beta
                     Red Hat CodeReady Linux Builder for IBM z Systems Beta
                     Red Hat Enterprise Linux for Real Time Beta
                     Red Hat Enterprise Linux for IBM z Systems Beta
                     Red Hat Enterprise Linux Resilient Storage Beta
                     Red Hat Enterprise Linux for Real Time for NFV Beta
                     Red Hat Enterprise Linux Fast Datapath Beta for x86_64
SKU:                 RH00069
Contract:            11825153
Account:             5745649
Serial:              5253687833061795765
Pool ID:             8a85f99a67cce4a60167cd4f4cbb2e2f
Provides Management: No
Active:              True
Quantity Used:       1
Service Level:       Self-Support
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:   Standard
Starts:              12/20/2018
Ends:                12/19/2019
System Type:         Physical

[root@h098 ~]# date
Wed Jan  9 00:47:33 EST 2019


Thanks
Vinay

Comment 3 Craig Donnelly 2019-01-09 12:41:43 UTC
Hello, The beta subscription you have attached does not provide access to that product.
What you appear to have installed there from the product certificate is the High-Touch Beta, which is different than the Beta release.

For some verification, could you show me the following:

# ll /etc/pki/{product,product-default}

Thanks.

Comment 4 vinay.gupta 2019-01-09 18:50:57 UTC
Hi Craig,

Here is the output for requested command:

# ll /etc/pki/{product,product-default}
/etc/pki/product:
total 0

/etc/pki/product-default:
total 4

Thanks
Vinay

Comment 5 Craig Donnelly 2019-01-09 20:43:15 UTC
Hello,

It seems like something is missing from your output.

What files are in: /etc/pki/product-default ?

Thanks.

Comment 6 vinay.gupta 2019-01-09 22:01:14 UTC
Hello Craig,

The folder only has one file:
# ls /etc/pki/product-default
230.pem

My colleague downloaded this RHEL 8 image from Redhat partner ftp site.

Thanks,
Vinay

Comment 7 Craig Donnelly 2019-01-09 23:18:40 UTC
Hello,

Based on that installed product and where you have obtained the install from, if you are a high-touch beta participant, you need to utilize the High-Touch Beta subscription which is SKU: RH00076.
If you do not have this SKU available, you will need to contact a member of your sales or architect team with Red Hat.

Based on that information, I am going to close this out as NOTABUG.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.