Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 624816

Summary: Quantity of -1 should be shown as "Unlimited"
Product: Red Hat Enterprise Linux 6 Reporter: Bryan Kearney <bkearney>
Component: subscription-managerAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: jesusr, jsefler, shaines
Target Milestone: rcKeywords: RHELNAK
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:42:09 UTC Type: ---
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: 568421    

Description Bryan Kearney 2010-08-17 20:33:02 UTC
Looking at the red hat personal bits from list --available you see a quanity of -1. This should be unlimited.

Comment 2 RHEL Program Management 2010-08-17 20:58:23 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 wes hayutin 2010-08-17 21:18:26 UTC
hrm.. it looks like our automated test runs are currently skipping over the RH-Personal test cases currently due to bug.
https://bugzilla.redhat.com/show_bug.cgi?id=624423

Our automated test runs would catch this particular bug by executing the tests here: 
http://hudson-qe.rhq.rdu.redhat.com:8080/view/Entitlement/job/subscription-manager-cli%20(OnPremises)/177/TestNG_Report/?


log.info("Now client2 (already registered as a system under username '"+clientusername+"') should now have RHEL Personal Bits available with unlimited quantity...");
		List<SubscriptionPool> client2AfterSubscriptionPools = client2tasks.getCurrentlyAvailableSubscriptionPools();
		SubscriptionPool rhelPersonalBitsPool = client2tasks.findSubscriptionPoolWithMatchingFieldFromList("subscriptionName",rhelPersonalBitsProductName,client2AfterSubscriptionPools);
		Assert.assertTrue(rhelPersonalBitsPool!=null,rhelPersonalBitsProductName+" is now available to client2 system '"+client2.getConnection().getHostname()+"' registered under user '"+clientusername+"'.");
		Assert.assertEquals(rhelPersonalBitsPool.quantity.toLowerCase(),"unlimited","An unlimited quantity of entitlements is available to "+rhelPersonalBitsProductName+".");

Comment 4 John Sefler 2010-08-20 12:11:08 UTC
This failure is being caught by our nightly automated test runs:
http://hudson-qe.rhq.rdu.redhat.com:8080/view/Entitlement/job/subscription-manager-cli%20%28OnPremises%29/185/TestNG_Report/?

Comment 5 Jesus M. Rodriguez 2010-08-23 17:32:43 UTC
unlimited field no longer available in call. client needed to check quantity = -1 and show unlimited. Fixed by commit: 4fec1f70d7b0362cb2df5327cb0408a103c72eaf

Comment 6 Jeff Weiss 2010-09-07 18:50:19 UTC
ssh root.redhat.com subscription-manager-cli list --available
Stdout: 
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+


ProductName: RHEL Personal Bits 
ProductId: 1144 
PoolId: 14 
Quantity: unlimited 
Expires: 2011-09-06 

QA Verified by automation: 
http://hudson-qe.rhq.rdu.redhat.com:8080/view/Entitlement/job/subscription-manager-cli%20(OnPremises)/205/

Comment 7 errata-xmlrpc 2011-05-19 13:42:09 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0611.html