Bug 1333351

Summary: Hammer subscription list no longer reports subscriptions as uuids
Product: Red Hat Satellite Reporter: Rich Jerrido <rjerrido>
Component: Subscription ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, jsherril, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/15275
Whiteboard:
Fixed In Version: rubygem-hammer_cli_katello-0.0.22.14-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:24:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attachment highighting difference between Sat6.2 and Sat6.1 behavior none

Description Rich Jerrido 2016-05-05 10:49:49 UTC
Description of problem:

When running 'hammer subscription list' on Satellite 6.2, subscription IDs are no longer reported as UUIDs. 


Version-Release number of selected component (if applicable):
candlepin-0.9.54.4-1.el7.noarch
katello-3.0.0-3.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. install sat 6.2 (beta)
2. run 'hammer subscription list' 
3.

Actual results:

The ID column is not a UUID referring to the pool ID as shown below:

Expected results:

Similar behavior to Satellite 6.1 where the ID field as a UUID. 



Additional info:

Comment 1 Rich Jerrido 2016-05-05 10:50:36 UTC
Created attachment 1154163 [details]
Attachment highighting difference between Sat6.2 and Sat6.1 behavior

Comment 3 Justin Sherrill 2016-06-02 19:08:24 UTC
Created redmine issue http://projects.theforeman.org/issues/15275 from this bug

Comment 4 Bryan Kearney 2016-06-02 22:16:01 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15275 has been closed

Comment 5 Kedar Bidarkar 2016-06-15 11:17:01 UTC
 ~]# hammer -u admin -p changeme subscription list --organization-id 1
---|----------------------------------|-----------------------------------------------------------|----------|---------|--------------|-----------|----------|------------------------------|-----------|---------
ID | UUID                             | NAME                                                      | CONTRACT | ACCOUNT | SUPPORT      | QUANTITY  | CONSUMED | END DATE                     | QUANTITY  | ATTACHED
---|----------------------------------|-----------------------------------------------------------|----------|---------|--------------|-----------|----------|------------------------------|-----------|---------
1  | 8a88ef81555335970155533ea4620050 | Red Hat Enterprise Linux Server Entry Level, Self-support | 10800893 | 477931  | Self-Support | 25        | 0        | 2016-10-14T03:59:59.000+0000 | 25        | 0       
2  | 8a88ef815553359701555346f25f0070 | rhel7_sattools_prd                                        |          |         |              | Unlimited | 0        | 2046-06-08T08:56:45.825+0000 | Unlimited | 0       
---|----------------------------------|-----------------------------------------------------------|----------|---------|--------------|-----------|----------|------------------------------|-----------|---------


VERIFIED With sat62-snap(GA)-15.2 ( june 15th beta )

Comment 6 Bryan Kearney 2016-07-27 11:24:47 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.

https://access.redhat.com/errata/RHBA-2016:1501