Bug 784082 - when viewing available subscriptions for a system, add "list all" option to CLI
Summary: when viewing available subscriptions for a system, add "list all" option to CLI
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-23 18:58 UTC by Tom McKay
Modified: 2014-03-18 17:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:38:22 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 771757 0 unspecified CLOSED allow control for listing subscriptions which "match my system" 2021-02-22 00:41:40 UTC

Internal Links: 771757

Description Tom McKay 2012-01-23 18:58:55 UTC
Description of problem:

The Candlepin API allows the passing in of "listall=true/false" calling /pools

curl -k -u admin:admin
https://localhost:8443/candlepin/pools/?consumer=1b144001-2aa6-4863-ab49-14b195022d72\&listall=true

The UI now has an option to control this flag, and the api/systems_controller#pools also supports passing in an optional param :listall (if present passes listall=true to candlepin, otherwise sends false).

The CLI would benefit from enabling this as a parameter to its listing of available subscriptions.

See BZ 771757 for related UI work.


Steps to Reproduce:
Create a system w/ 64 cpu sockets in its facts, then list available subscriptions. Note that the 1-2 socket subscriptions are not listed. Pass in :listall and all subscriptions available to the machine, regardless to cpu sockets, arch, etc., will be displayed.
  
Actual results:


Expected results:


Additional info:

Comment 2 Mike McCune 2014-03-18 17:38:22 UTC
This bug was closed because of a lack of activity.  If you feel this bug should be reconsidered for attention please feel free to re-open the bug with a comment stating why it should be reconsidered.


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