Bug 784082

Summary: when viewing available subscriptions for a system, add "list all" option to CLI
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Content ManagementAssignee: Martin Bacovsky <mbacovsk>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-18 17:38:22 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:

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.