Project

General

Profile

Bug #16080

hammer subscription list returns duplicate columns

Added by Partha Aji about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Here is a sample output of the hammer subscription list call

---|----------------------------------|-----------------------------------------------------------------------|----------|---------|--------------|-----------|----------|------------------------------|-----------|---------
ID | UUID                             | NAME                                                                  | CONTRACT | ACCOUNT | SUPPORT      | QUANTITY  | CONSUMED | END DATE                     | QUANTITY  | ATTACHED
---|----------------------------------|-----------------------------------------------------------------------|----------|---------|--------------|-----------|----------|------------------------------|-----------|---------
16 | 8a888016563887f301564d058deb01dc | docker                                                                |          |         |              | Unlimited | 0        | 2046-07-26T20:50:24.654+0000 | Unlimited | 0       
29 | 8a8880165676677b01567a404f3901bc | OpenShift Enterprise Premium, 2 Cores                                 | 10299511 | 5705700 | Premium      | 2         | 1        | 2017-06-20T03:59:59.000+0000 | 2         | 1       
28 | 8a8880165676677b01567a404f7601dc | Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) | 10299414 | 5705700 | Premium      | 4         | 0        | 2017-06-20T03:59:59.000+0000 | 4         | 0       
26 | 8a8880165676677b01567a404fab021c | Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes) | 10299413 | 5705700 | Standard     | 200       | 0        | 2017-06-20T03:59:59.000+0000 | 200       | 0       

Note -> Quantity,Consumed, Attached are duplicated and most likely details like Account number are not likely to be unique on a per sub basis. No information about which one belongs to a hypervisor guest pool and which one does not. All this would be useful.

Associated revisions

Revision 81b732fe (diff)
Added by Partha Aji about 3 years ago

Fixes #16080 - Improved subscription list call

Improved hammer subscription list call to now show a few things

a) Subscription Type
  • Physical
  • Virtual
  • Guest of <host>
    b) Improved formatiing of End Date
    c) Removed duplicated columns Quantity and Consumed

Revision f3e5a8d1
Added by Zach Huntington-Meath almost 3 years ago

Merge pull request #441 from parthaa/subs

Fixes #16080 - Improved subscription list call

History

#1 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/441 added

#2 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

#3 Updated by Justin Sherrill almost 3 years ago

  • Difficulty set to easy

#4 Updated by Partha Aji almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF