Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 771757 - allow control for listing subscriptions which "match my system"
Summary: allow control for listing subscriptions which "match my system"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 703617 katello-blockers 804245
TreeView+ depends on / blocked
 
Reported: 2012-01-04 20:51 UTC by Chris Duryee
Modified: 2019-09-26 13:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-27 00:32:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sub-mgr-gui filtering (69.33 KB, image/png)
2012-01-04 20:51 UTC, Chris Duryee
no flags Details
headpin available subscription search (83.94 KB, image/png)
2012-01-04 20:53 UTC, Chris Duryee
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 784082 0 unspecified CLOSED when viewing available subscriptions for a system, add "list all" option to CLI 2021-02-22 00:41:40 UTC

Internal Links: 784082

Description Chris Duryee 2012-01-04 20:51:00 UTC
Created attachment 550760 [details]
sub-mgr-gui filtering

Description of problem:

Occasionally, a user will want to consume entitlements that do not match what's installed on the system. One use case would be if the system is being used as a hypervisor and the sysadmin wants to subscribe simply to get access to bonus pools.

Right now, this is only possible via running subscription-manager on the host; headpin is not at feature parity with sub-mgr in this respect. See screenshots for more detail.

Comment 1 Chris Duryee 2012-01-04 20:53:04 UTC
Created attachment 550761 [details]
headpin available subscription search

the writing in the headpin screenshot is incorrect. The checkboxes in sub-mgr-gui are to disable filtering; not enable. I will post REST calls in a bit showing the difference.

Comment 2 Chris Duryee 2012-01-04 22:00:19 UTC
If you append a "&listall=true" to the end of the REST call to fetch the pools, you should get back an unfiltered list. This should be sufficient to show everything, so a user can subscribe to a pool to enable the bonus pools.

Comment 3 Tom McKay 2012-01-05 20:14:17 UTC
Email sent...

Kyle (and other UX opinions),

See screenshots off of https://bugzilla.redhat.com/show_bug.cgi?id=771757 for context

When viewing available subscriptions for a system in subscription-manager-gui, there are three checkboxes to help limit what is shown:
1 match my system (done in candlepin by not including param listall=true)
2 match my installed products (done in sub-mgr-gui)
3 have no overlap with existing subscriptions (done in sub-mgr-gui)

Currently, katello/headpin does not include the listall=true param so only subscriptions that candlepin considers matching for a system are considered. (eg. If a system has 16 sockets and the subscription only covers 8 sockets, it is not shown.)

Where and in what form should these options appear in the katello/headpin UI?

Comment 4 Tom McKay 2012-01-05 21:06:55 UTC
To reproduce

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

substituting appropriate consumer id

Comment 5 Tom McKay 2012-01-09 14:50:04 UTC
Per conversation w/ Kyle Baker:

+ Add checkbox next to Available Subscriptions called "Match System"
+ Change font of this and auto-heal to be same as the Details, Facts, etc.
+ Right justify both checkboxes

Comment 6 Tom McKay 2012-01-23 19:11:31 UTC
  2c083f4... 771757 - toggle and callbacks added; still work to be done (*)
  3745c30... 771757 - candlepin called properly with saved user preferen (*)
  fa6cf37... 771757 - page refreshes on toggle checkbox and callback tri (*)
  9277621... Merge branch 'master' into BZ-771757 (*)
  c27a160... 771757 - added flag to api/systems_controller.rb and update (*)
  88086f2... Merge branch 'master' into BZ-771757 (*)

To confirm change, create a system w/ a fact of 64 cpu sockets and view that system using a manifest w/ a product that covers less sockets. Toggling checkbox will now show the lesser socket subscriptions where previously they were not shown.

Comment 7 Mike McCune 2012-01-26 19:08:14 UTC
mass ON_QA move

Comment 9 Jeff Weiss 2012-03-17 00:02:38 UTC
Feature works, but there is an unacceptable delay between the time you check the checkbox, and when the list updates.  Nothing indicates to the user that the app is busy. The "working" cursor appears for about 1/2 second, the normal cursor returns, and then finally the list updates about 3-4 seconds later.  

Verified, see dependent bug for further details


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