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 719743

Summary: No free entitlements are available for the pool with id 'abc123'
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: alikins, cduryee, jmolet, skallesh, syeghiay, wpoteat
Target Milestone: beta   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:56:28 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: 738066    

Description John Sefler 2011-07-07 20:17:50 UTC
Description of problem:
Add a period at the end of this sentence:
No free entitlements are available for the pool with id 'abc123'

Version-Release number of selected component (if applicable):
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.2-1.git.31.702703f.el6.x86_64


How reproducible:


Steps to Reproduce:
1. consume all of the entitlements from a pool
2. try to subscribe again
  
Actual results:
No free entitlements are available for the pool with id 'abc123'

Expected results:
No free entitlements are available for the pool with id 'abc123'.

Comment 1 John Sefler 2011-07-07 20:30:41 UTC
Actually, the wording should be "from the pool" rather than "for the pool":

Expected results:
No free entitlements are available from the pool with id 'abc123'.

Comment 3 John Sefler 2011-07-07 20:35:35 UTC
While we are working on the wording of messages, this one could use some improvements after subscribing to a poolid:

# subscription-manager subscribe --pool=abc123

Actual results:
Successfully subscribed the system to Pool abc123

Expected results:
Successfully consumed a subscription from the pool with id 'abc123'.

Comment 4 John Sefler 2011-07-07 20:38:02 UTC
Actually both phrases are more verbose than they need to be.  One more try...

Expected results:

No free entitlements are available from pool 'abc123'.

Successfully consumed a subscription from pool 'abc123'.

Comment 5 Adrian Likins 2011-08-02 21:07:48 UTC
orig bug and comment#1 seem to be fixed in:

commit 886f8834b9fef18d9eb645c99de752ac7ef280aa
Author: Bryan Kearney <bkearney>
Date:   Fri Jul 22 12:39:29 2011 -0400

    Add some periods to the end of error messages

Comment 8 Bryan Kearney 2011-11-21 18:22:49 UTC
Fixed in dd17ef3cf45bfc4a6174976d44a8d97ef48c8a50 in master.

Comment 9 Shwetha Kallesh 2011-11-24 07:38:11 UTC
Comment 1 has not been fixed yet..

RPM used:
[root@tiger ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.98.3-1.git.16.14460bc.el5_7
subscription-manager-firstboot-0.98.3-1.git.16.14460bc.el5_7
subscription-manager-migration-0.98.3-1.git.16.14460bc.el5_7
subscription-manager-0.98.3-1.git.16.14460bc.el5_7

steps to reproduce:

[root@tiger ~]# subscription-manager subscribe --pool=8ac1411b33c50dab0133c50eaa7b078a

Successfully consumed a subscription from the pool with id 8ac1411b33c50dab0133c50eaa7b078a

[root@tiger ~]# subscription-manager subscribe --pool=8ac1411b33c50dab0133c50ea9dd0774 --quantity=3

No free entitlements are available for the pool with id '8ac1411b33c50dab0133c50ea9dd0774'.

Comment 13 Shwetha Kallesh 2012-02-23 10:35:07 UTC
Comment 1 has not been fixed yet.

[root@dhcp201-166 pki]# subscription-manager subscribe --pool=0000000035856b280135856bf7cd044d --quantity=1
No free entitlements are available for the pool with id '0000000035856b280135856bf7cd044d'.


RPM used:
[root@dhcp201-166 pki]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.99.8-1.el6.x86_64
subscription-manager-0.99.8-1.el6.x86_64
subscription-manager-migration-0.99.8-1.el6.x86_64
subscription-manager-debuginfo-0.99.8-1.el6.x86_64

Comment 14 Shwetha Kallesh 2012-02-29 06:31:20 UTC
Moving it back to new

Comment 15 Bryan Kearney 2012-03-01 18:20:08 UTC
Please try with a later version from master:

/tmp/tito/x86_64/subscription-manager-0.99.8-1.git.23.7c48eb4.fc16.x86_64.rpm

It should have the fixed string.

Comment 17 John Sefler 2012-03-09 17:28:47 UTC
[root@jsefler-r63-server ~]# rpm -q subscription-manager
subscription-manager-0.99.9-1.git.3.1501812.el6.x86_64

[root@jsefler-r63-server ~]# subscription-manager subscribe --pool abc123
No free entitlements are available for the pool with id 'abc123'.
   ^^^^                            ^^^
"for" should be replaced with "from"
"free" is probably a bad choice of words (just remove it)


Moving it back to NEW

Comment 20 John Sefler 2012-03-14 15:40:59 UTC
Verifying Version....
[root@jsefler-r63-server ~]# rpm -q subscription-manager
subscription-manager-0.99.9-1.git.13.7cda7cd.el6.x86_64

# subscription-manager subscribe --pool 8a90f8143611c33f013611c4797b0456 --quantity 10
Successfully consumed a subscription from the pool with id 8a90f8143611c33f013611c4797b0456.
# subscription-manager subscribe --pool 8a90f8143611c33f013611c4797b0456
No entitlements are available from the pool with id '8a90f8143611c33f013611c4797b0456'.


Verified that the word "free" has been removed.
Verified that the messages end in a period.
Verified that entitlements come "from" a pool rather than "for" a pool.
Note: It would be better to use single quotes around the pool id consistently.

Moving to VERIFIED

Comment 22 errata-xmlrpc 2012-06-20 12:56:28 UTC
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-2012-0804.html