Bug 1019667

Summary: Subscribe one DataCenter pool isn't sufficient to multi-socket host
Product: Red Hat Enterprise Linux 6 Reporter: Liushihui <shihliu>
Component: relengAssignee: Lubos Kocman <lkocman>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5CC: acarter, bkearney, dgregor, jgalipea, liliu, qianzhan, sgao
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-21 19:13:24 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:
Bug Depends On:    
Bug Blocks: 862910    

Description Liushihui 2013-10-16 08:34:27 UTC
Description of problem:
When the host's socket's quantity > 1 ,it can't fully subscribed after subscribe one Dataceneter subscription

Version-Release number of selected component (if applicable):
subscription-manager-1.9.9-1.el6.x86_64
python-rhsm-1.9.6-1.el6.x86_64
virt-who-0.8-9.el6.noarch
katello-headpin-1.4.3.19-1.el6sam_splice.noarch
candlepin-0.8.26-1.el6sam.noarch

How reproducible:
Always

Steps to Reproduce:
1. In the host : Modify the socket to 6
#echo '{"cpu.cpu_socket(s)":"4"}' > /etc/rhsm/facts/custom.facts
#subscription-manager facts --update
2. Register host to SAM server and subscribe the Datacenter pool
SAM server ip:10.66.13.219
# subscription-manager register --username=admin --password=admin
# subscription-manager subscribe --pool=8ac28c034196c0fc0141bfa98fcf0d70(Datacenter pool)
3. Check the consumed subscription's status
# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server, Datacenter Standard
Provides:          
SKU:               RH00002
Contract:          10032035
Account:           5225762
Serial:            2913370605097514270
Pool ID:           8ac28c034196c0fc0141bfa98fcf0d70
Active:            True
Quantity Used:     1
Service Level:     Standard
Service Type:      L1-L3
Status Details:    Only covers 2 of 6 sockets.
Starts:            12/31/2012
Ends:              12/31/2013
System Type:       Physical

Actual results:
The Status Details is "Only covers 2 of 6 sockets", it means the Datacenter pool is socket based in the host

Expected results:
The Status Detail should be empty as Datacenter pool shouldn't be socket based

Additional info:

Comment 2 John Sefler 2013-10-16 14:17:37 UTC
Sounds like the DataCenter SKU RH00002 has a sockets attribute set and is non-stackable.
Setting NEEDINFO on acarter to determine if this SKU was set up as expected.

Comment 6 Bryan Kearney 2013-10-21 19:13:24 UTC
Per Amandas comments, closing this out.

Comment 7 Liushihui 2013-10-22 10:56:55 UTC
Hi Amanda,
  
Thanks for your clarification, I will update our test cases according to your comments.

Thanks!
Shihui Liu