Bug 1046158
Summary: | Attaching quantity=1 of SKU RH00073 on a 2 socket physical system yields "Only covers 0 of 2 sockets." | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> |
Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.9 | CC: | bkearney |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-29 19:04:55 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: | 863175 |
Description
John Sefler
2013-12-23 21:29:51 UTC
commit af21128d10630c4411dac89d489e9b4bb74bf8f5 Author: ckozak <ckozak> Date: Mon Dec 23 15:59:27 2013 -0500 1046158: Fixed instance based compliance calculation Instance based calculation assumed that the instance_multiplier == sockets attribute. This is not the case in some data on stage where sockets = 1, and instance_multiplier = 2 I believe this is now deployed to stage as part of candlepin-0.9.3 Moving to ON_QA Verifying Version... [root@jsefler-7 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: Unknown <=========== candlepin-0.9.3 subscription-manager: 1.10.14-3.el7 python-rhsm: 1.10.12-1.el7 [root@jsefler-7 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux 7 Server High Touch Beta Product ID: 230 Version: 7.0 HTB Arch: x86_64 Status: Unknown Status Details: Starts: Ends: [root@jsefler-7 ~]# echo '{"cpu.cpu_socket(s)":"2", "virt.is_guest":"false"}' > /etc/rhsm/facts/override.facts [root@jsefler-7 ~]# subscription-manager facts --list | grep virt.is_guest virt.is_guest: false [root@jsefler-7 ~]# subscription-manager facts --list | egrep ^cpu.cpu_socket cpu.cpu_socket(s): 2 [root@jsefler-7 ~]# subscription-manager register --username=rhel7beta --serverurl=subscription.rhn.stage.redhat.com:443/subscription --baseurl=https://cdn.rcm-qa.redhat.com Password: The system has been registered with ID: abf95866-f36b-40d9-b1fa-450d968444a7 [root@jsefler-7 ~]# subscription-manager list --avail | grep RH00073 -B3 -A10 Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00073 Contract: 10299496 Pool ID: 8a99f9844228f57b0142334889e65cc4 Available: 930 Suggested: 4 <========== THIS IS STILL CORRECT Service Level: Self-Support Service Type: L1-L3 Subscription Type: Instance Based Ends: 11/06/2014 System Type: Physical [root@jsefler-7 ~]# subscription-manager attach --pool=8a99f9844228f57b0142334889e65cc4 --quantity=2 Successfully attached a subscription for: Red Hat Enterprise Linux Desktop Beta [root@jsefler-7 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00073 Contract: 10299496 Account: 5363962 Serial: 321840136618985481 Pool ID: 8a99f9844228f57b0142334889e65cc4 Active: True Quantity Used: 2 Service Level: Self-Support Service Type: L1-L3 Status Details: Only supports 1 of 2 sockets. <======== VERIFIED Subscription Type: Instance Based Starts: 11/07/2013 Ends: 11/06/2014 System Type: Physical [root@jsefler-7 ~]# subscription-manager attach --pool=8a99f9844228f57b0142334889e65cc4 --quantity=2 Successfully attached a subscription for: Red Hat Enterprise Linux Desktop Beta [root@jsefler-7 ~]# subscription-manager list --consumed+-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00073 Contract: 10299496 Account: 5363962 Serial: 321840136618985481 Pool ID: 8a99f9844228f57b0142334889e65cc4 Active: True Quantity Used: 2 Service Level: Self-Support Service Type: L1-L3 Status Details: <========== THIS IS STILL CORRECT Subscription Type: Instance Based Starts: 11/07/2013 Ends: 11/06/2014 System Type: Physical Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: Red Hat Enterprise Linux 7 Public Beta SKU: RH00073 Contract: 10299496 Account: 5363962 Serial: 5680049208220774056 Pool ID: 8a99f9844228f57b0142334889e65cc4 Active: True Quantity Used: 2 Service Level: Self-Support Service Type: L1-L3 Status Details: <========== THIS IS STILL CORRECT Subscription Type: Instance Based Starts: 11/07/2013 Ends: 11/06/2014 System Type: Physical VERIFIED: After Attaching the first quantity=2, the Status Details of the consumed subscription correctly states: Only supports 1 of 2 sockets. These bugs were fixed during 7.0 but not moved to CLOSED. They have been delivered |