Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1397816

Summary: Subscriptions is taking double of it should be
Product: Red Hat Satellite Reporter: Edu Alcaniz <ealcaniz>
Component: Subscription ManagementAssignee: Eric Helms <ehelms>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2.4CC: ahoness, jbhatia, tomckay
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-23 15:58:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edu Alcaniz 2016-11-23 12:07:49 UTC
Description of problem:

Subscription are not taking correctly. it takes double subscriptions. 


root@server ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name:   Red Hat Enterprise Linux Server with Smart Management, Standard (Physical or Virtual Nodes)
Provides:            Oracle Java (for RHEL Server)
                     Red Hat Enterprise Linux Atomic Host
                     Red Hat Enterprise Linux Server
                     Red Hat Software Collections (for RHEL Server)
                     dotNET on RHEL Beta (for RHEL Server)
                     Red Hat Beta
                     dotNET on RHEL (for RHEL Server)
                     Red Hat Developer Toolset (for RHEL Server)
                     Red Hat Enterprise Linux Atomic Host Beta
                     Red Hat Software Collections Beta (for RHEL Server)
                     Red Hat Container Images
                     Red Hat Container Images Beta
SKU:                 RH00009
Contract:            11133420
Account:             785804
Serial:              8440429577021248982
Pool ID:             8aeeb48c581c10a0015824209ab60cd4
Provides Management: Yes
Active:              True
Quantity Used:       8
Service Level:       Standard
Service Type:        L1-L3
Status Details:      Subscription is current
Subscription Type:   Instance Based
Starts:              10/29/2016
Ends:                10/29/2017
System Type:         Physical

[root@ieec1zdb2wcs3 ~]# lscpu |grep Socket
Socket(s):             8

If one subscription is for two sockets then there is something wrong, because it should consume only 4 subscriptions. Please note that quantity is automatic and there is no possibility to put any value by hand.

Customer is using these subscriptions

RH00009 	Red Hat Enterprise Linux Server with Smart Management, Standard (Physical or Virtual Nodes) 	1 physical entitlement for a Server (2-sockets, Stackable) OR 2 Virtual Instances 	32-bit x86, 64-bit AMD64 & Intel 64, 64-bit Intel Itanium (RHEL 5 only)
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
it take 2 subscriptions per 2 sockets instead 1. 

root@server ~]# lscpu |grep Socket

Socket(s):             8

 

[root@server ~]# subscription-manager list --consumed |grep Quantity

Quantity Used:       8

Expected results:
Take one subscription per 2 sockets. 

Additional info:

Comment 2 Tom McKay 2016-11-23 15:58:41 UTC
https://access.redhat.com/solutions/1135553