Bug 812410 - Subscription-manager subscribe CLI feedback
Summary: Subscription-manager subscribe CLI feedback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Devan Goodwin
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748 827225
TreeView+ depends on / blocked
 
Reported: 2012-04-13 16:03 UTC by Matt Reid
Modified: 2013-01-08 03:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 03:50:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0033 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-01-08 08:38:27 UTC

Description Matt Reid 2012-04-13 16:03:44 UTC
Description of problem:
Subscribing manually through the CLI simply repeats the pool id they input as confirmation. It would be nicer if we translated that pool id back to a subscription name for them or also displayed it in some fashion. My assumption is that subscription names are more easily recognizable than pool ids.

Version-Release number of selected component (if applicable):
subscription-manager-1.0.0-1.git.19.46c8d80

Steps to Reproduce:
1. subscription-mananger list --available
2. copy pool id
3. subscription-manager subscribe --pool=[paste pool id]
  
Actual results:
[user@sys]# subscription-manager subscribe --pool=[poolid]
Successfully consumed a subscription from the pool with id [pool id].
[user@sys]#

Expected results:
[user@sys]# subscription-manager subscribe --pool=[poolid]
Successfully consumed a subscription for [subscription name] from pool id: [pool id].
[user@sys]#

or 

[user@sys]# subscription-manager subscribe --pool=[poolid]
Successfully consumed a subscription for [subscription name].
[user@sys]#

Additional info:
I imagine there's not much we can do about pools, but it seems pretty painful to manually subscribe. What if they don't have a mouse and they're just ssh'd in? Is there a wizardy way they can copy/paste the pool id and not have to write it down somewhere else and then input it manually?

Comment 1 RHEL Program Management 2012-04-17 02:08:32 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Devan Goodwin 2012-05-25 18:42:21 UTC
Changed to:

subscription-manager subscribe --pool=ff8080813783f91c013783fa178105c6 --pool=ff8080813783f91c013783fa16280597
Successfully consumed a subscription for: Awesome OS Modifier
Successfully consumed a subscription for: Awesome OS Server Bundled

Comment 3 Devan Goodwin 2012-05-29 13:12:11 UTC
fixed in subscription-manager upstream: 98819d99b548e3f4ff142c1748b9dbdcaa7ef40c

Will appear in subscription-manager-1.0.3-1 and later.

Comment 4 spandey 2012-06-18 12:23:34 UTC
Verified using following rpm 

subscription-manager-firstboot-1.0.3-1.git.75.a0245f2.el5
subscription-manager-1.0.3-1.git.75.a0245f2.el5
subscription-manager-gui-1.0.3-1.git.75.a0245f2.el5
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-migration-1.0.3-1.git.75.a0245f2.el5



[root@dhcp193-122 product]# subscription-manager subscribe --pool 0000000037fe871b0137fe8893520480 --pool 0000000037fe871b0137fe888f6e03d7
Successfully consumed a subscription for: Awesome OS with unlimited virtual guests
Successfully consumed a subscription for: Stackable with Awesome OS for x86_64

resolving defect as verified

Comment 6 errata-xmlrpc 2013-01-08 03:50:40 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-2013-0033.html


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