Red Hat Bugzilla – Bug 646775
Misleading number of enterprise_entitled required when rhn-satellite-activate
Last modified: 2012-03-08 04:06:43 EST
Description of problem:
Activation of satellite with huge db fail when using insufficient
certificate. But the error listed looks suspicious.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a large database
2. rhn-satellite-activate with 'lite' cert.
Error: You do not have enough unused enterprise_entitled entitlements
in the base org. You will need at least 394374 free entitlements,
based on your current consumption. Please un-entitle the remaining
systems for the activation to proceed.
I have about 26000 system registered, therefore I would expect that I need
26000 management entitlements.
The problem was introduced by
Author: Pradeep Kilambi <email@example.com>
Date: Wed May 27 17:04:03 2009 -0400
which was presumably a fix for bug 498517 (fixing the error message to show the needed free entitlements for the activation to proceed). However, the arithmetics does not take used entitlements into account, it merely uses all existing entitlements and substracts the new entitlement value.