Description of problem: Observed the "status details" of a bundled subscription list the same compliance reasons multiple times ( no.of installed products the bundled subscription covers) Version-Release number of selected component (if applicable): rpm -qa | grep subscr subscription-manager-migration-1.8.6-1.git.27.f8647f0.el5 subscription-manager-1.8.6-1.git.27.f8647f0.el5 subscription-manager-gui-1.8.6-1.git.27.f8647f0.el5 subscription-manager-firstboot-1.8.6-1.git.27.f8647f0.el5 subscription-manager-migration-data-1.11.2.7-1.git.0.1dfd00e.el5 How reproducible: Steps to Reproduce: 1.register client 2.change the socket value (ex: echo '{"cpu.cpu_socket(s)":"5"}' > /etc/rhsm/facts/custom.facts) and update the facts Actual results: Observed that the compliance status reason were getting listed multiple times [root@hp-dl360g4-01 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Multi-Attribute Limited Product Product ID: 900 Version: 1.0 Arch: x86_64 Status: Subscribed Status Details: Starts: 05/01/2013 Ends: 05/01/2014 Product Name: Awesome OS Server Bits Product ID: 37060 Version: 6.1 Arch: ALL Status: Partially Subscribed Status Details: Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Starts: Ends: Product Name: Shared Storage Bits Product ID: 37067 Version: 1.0 Arch: ALL Status: Partially Subscribed Status Details: Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Starts: Ends: list consumed [root@hp-dl360g4-01 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Workstation Basic Provides: Awesome OS Workstation Bits SKU: awesomeos-workstation-basic Contract: 28 Account: 12331131231 Serial Number: 3935729578684262503 Pool ID: 8ac6a30b3e63c090013e63c195a3114b Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Only covers 2 of 5 sockets. Starts: 05/01/2013 Ends: 05/01/2014 Subscription Name: Awesome OS Server Bundled (2 Sockets, Standard Support) Provides: Clustering Bits Awesome OS Server Bits Load Balancing Bits Large File Support Bits Shared Storage Bits Management Bits SKU: awesomeos-server-2-socket-std Contract: 40 Account: 12331131231 Serial Number: 6427382263954575144 Pool ID: 8ac6a30b3e63c090013e63c194fd1102 Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Only covers 2 of 5 sockets. Starts: 05/01/2013 Ends: 05/01/2014 Expected results: should be listing only once Additional info:
list --status output [root@hp-dl360g4-01 ~]# subscription-manager list --status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Insufficient Awesome OS Server Bundled (2 Sockets, Standard Support): Only covers 2 of 5 sockets. Awesome OS Server Bundled (2 Sockets, Standard Support): Only covers 2 of 5 sockets. Awesome OS Server Bundled (2 Sockets, Standard Support): Only covers 2 of 5 sockets. Awesome OS Workstation Basic: Only covers 2 of 5 sockets. Awesome OS Server Bundled (2 Sockets, Standard Support): Only covers 2 of 5 sockets. Awesome OS Server Bundled (2 Sockets, Standard Support): Only covers 2 of 5 sockets. Awesome OS Server Bundled (2 Sockets, Standard Support): Only covers 2 of 5 sockets.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
commit 6c73affc74cdbb511d802a96011a36e92f646e3b Merge: 0b5277e f7bfb57 Author: ckozak <ckozak> Date: Mon May 6 15:39:57 2013 -0400 958827: fixed duplicate reasons from bundled subs, removed messages for valid products, refactoreed client-side reasons
Retested, observed that now the "Status details" for a bundled subscription is listing the message only onces [root@hp-bl460cgen8-01 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Server Bundled (2 Sockets, Standard Support) Provides: Clustering Bits Awesome OS Server Bits Load Balancing Bits Large File Support Bits Shared Storage Bits Management Bits SKU: awesomeos-server-2-socket-std Contract: 36 Account: 12331131231 Serial Number: 78397930735581677 Pool ID: 8ac6a30b3e9c9a9c013e9c9b800906fe Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Only covers 2 of 5 sockets. Starts: 05/12/2013 Ends: 05/12/2014 [root@hp-bl460cgen8-01 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Shared Storage Bits Product ID: 37067 Version: 1.0 Arch: ALL Status: Partially Subscribed Status Details: Only covers 2 of 5 sockets. Starts: Ends: Product Name: Awesome OS Server Bits Product ID: 37060 Version: 6.1 Arch: ALL Status: Partially Subscribed Status Details: Only covers 2 of 5 sockets. Starts: Ends: Product Name: Core Limiting Product Product ID: 806 Version: 1.0 Arch: x86_64 Status: Not Subscribed Status Details: Not covered by a valid subscription. Starts: Ends: [root@hp-bl460cgen8-01 ~]# subscription-manager list --status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Invalid Core Limiting Product: - Not covered by a valid subscription. Awesome OS Server Bundled (2 Sockets, Standard Support): - Only covers 2 of 5 sockets. Hence moving the bug to verified Verified on [root@hp-bl460cgen8-01 ~]# rpm -qa | grep subscr subscription-manager-gui-1.8.7-1.el5 subscription-manager-1.8.7-1.el5 subscription-manager-firstboot-1.8.7-1.el5 subscription-manager-migration-1.8.7-1.el5 subscription-manager-migration-data-1.11.2.7-1.el5 subscription-manager-debuginfo-1.8.7-1.el5 root@hp-bl460cgen8-01 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.7-1 subscription-manager: 1.8.7-1.el5 python-rhsm: 1.8.10-1.el5
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1332.html