Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 769559 - Subscribe system ignores "facts -> cpu.cpu_socket(s)"
Subscribe system ignores "facts -> cpu.cpu_socket(s)"
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
6.0.1
Unspecified Unspecified
high Severity high (vote)
: Unspecified
: Unused
Assigned To: Bryan Kearney
Garik Khachikyan
: Triaged
: 821703 822105 (view as bug list)
Depends On: 786461
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-21 05:42 EST by Garik Khachikyan
Modified: 2018-08-30 17 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A multi-socketed system registering to System Engine was shown as compliant even if the system did not comply with the socket requirement. All systems are now properly scanned and tagged as compliant or non-compliant based on the system sockets versus the number of subscriptions it consumes.
Story Points: ---
Clone Of:
: 786461 (view as bug list)
Environment:
Last Closed: 2012-12-04 14:41:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-04 19:39:57 EST

  None (edit)
Description Garik Khachikyan 2011-12-21 05:42:59 EST
Description of problem:
Assuming situation when the product have only 1 available subscription and there is a system with 2 cpu sockets there (cpu.cpu_socket(s): 2) - Katello allows subscribing the system with that 1 subscription available.

rhsm register refuses the subscription with: 
---
Not enough entitlements in pools (1), required: 2, available: 1

Version-Release number of selected component (if applicable):
katello-0.1.148-1.git.0.0b9ff7d.el6.noarch

How reproducible:
always

Steps to Reproduce:
1.find a rhel6 server with cpu.cpu_socket(s): 2
2.make manifest import (or consume the existing entitlements) to make avail. only 1 entitlement.
3.register the system
4. subscribe through Katello UI
  
Actual results:
goes fine and gets subscribed with quantity=1

Expected results:
error: not enough entitlements avail.

Additional info:
Comment 1 Garik Khachikyan 2011-12-21 05:43:24 EST
inspired from: https://fedorahosted.org/katello/wiki/ActivationKeysDesign
Comment 5 Tom McKay 2012-05-23 13:43:26 EDT
*** Bug 821703 has been marked as a duplicate of this bug. ***
Comment 6 Tom McKay 2012-07-10 12:02:35 EDT
Fix believed to be in candlepin already. Marking as ON_DEV for QE to test.
Comment 7 Tom McKay 2012-09-10 08:23:40 EDT
*** Bug 822105 has been marked as a duplicate of this bug. ***
Comment 9 Garik Khachikyan 2012-09-18 06:05:46 EDT
# VERIFIED

Looks fixed. Scenario is : 
- make subscription "Red Hat Enterprise Linux Server, Self-support (1-2 sockets) (Up to 1 guest)" with available count: 1
- prepare a system with cpu_socket(s) = 4 (to consume 2 subscriptions)
- do rhsm register --autosubscribe

System gets registered and subscribed with a "yellow" status in CFSE UI.

further subscriptions of any other consumers is not allowed.

checked against:
---
python-qpid-0.7.946106-1.el6.noarch
candlepin-cert-consumer-brno-cfse.usersys.redhat.com-1.0-1.noarch
qpid-cpp-client-0.14-16.el6.x86_64
candlepin-0.7.8-1.el6cf.noarch
katello-glue-pulp-1.1.12-7.el6cf.noarch
qpid-cpp-server-ssl-0.14-16.el6.x86_64
katello-candlepin-cert-key-pair-1.0-1.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
python-isodate-0.4.4-4.pulp.el6.noarch
katello-cli-common-1.1.8-1.git.2.a0908e7.el6.noarch
katello-cli-1.1.8-1.git.2.a0908e7.el6.noarch
qpid-cpp-client-ssl-0.14-16.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
pulp-common-1.1.12-1.el6cf.noarch
pulp-selinux-server-1.1.12-1.el6cf.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
candlepin-selinux-0.7.8-1.el6cf.noarch
katello-common-1.1.12-7.el6cf.noarch
katello-glue-candlepin-1.1.12-7.el6cf.noarch
katello-1.1.12-7.el6cf.noarch
katello-all-1.1.12-7.el6cf.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-certs-tools-1.1.8-1.el6cf.noarch
katello-repos-1.1.2-1.el6.noarch
katello-agent-1.1.2-1.el6.noarch
katello-configure-1.1.9-3.el6cf.noarch
qpid-cpp-server-0.14-16.el6.x86_64
pulp-1.1.12-1.el6cf.noarch
katello-selinux-1.1.1-1.el6cf.noarch
candlepin-tomcat6-0.7.8-1.el6cf.noarch
katello-qpid-client-key-pair-1.0-1.noarch
Comment 11 errata-xmlrpc 2012-12-04 14:41:39 EST
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/RHSA-2012-1543.html
Comment 12 Mike McCune 2013-08-16 14:17:41 EDT
getting rid of 6.0.0 version since that doesn't exist

Note You need to log in before you can comment on or make changes to this bug.