Red Hat Bugzilla – Bug 769559
Subscribe system ignores "facts -> cpu.cpu_socket(s)"
Last modified: 2018-08-30 17:57 EDT
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:
inspired from: https://fedorahosted.org/katello/wiki/ActivationKeysDesign
*** Bug 821703 has been marked as a duplicate of this bug. ***
Fix believed to be in candlepin already. Marking as ON_DEV for QE to test.
*** Bug 822105 has been marked as a duplicate of this bug. ***
# 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
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
getting rid of 6.0.0 version since that doesn't exist