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:

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