RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1146253 - Ordering of provided products differs between All Available Subscriptions and My Subscriptions tabs
Summary: Ordering of provided products differs between All Available Subscriptions and...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 6.7
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel67
TreeView+ depends on / blocked
 
Reported: 2014-09-24 20:55 UTC by Matt Reid
Modified: 2015-05-15 19:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-07 15:31:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
RHCI in My Subscriptions (57.45 KB, image/png)
2014-09-24 20:56 UTC, Matt Reid
no flags Details
RHCI in All Available Subscriptions (57.98 KB, image/png)
2014-09-24 20:56 UTC, Matt Reid
no flags Details
RHCI in list --consumed (37.59 KB, image/png)
2014-09-24 20:57 UTC, Matt Reid
no flags Details
RHCI in list --available (37.62 KB, image/png)
2014-09-24 20:57 UTC, Matt Reid
no flags Details

Description Matt Reid 2014-09-24 20:55:45 UTC
Description of problem:
I'm actually not sure what determines the order we display provided products by in the two tabs (All Available Subscriptions and My Subscriptions) that show that information, but they seem to follow different rules. This also holds true when comparing the provided products spit out by 'subscription-manager list --available' and once attached, 'subscription-manager list --consumed'.

Presumably, there's a difference in the logic we use? It's the same subscription, so I would hope the ordering provided by CP remains the same?

Seems like the product listing should be in the same order, and alphabetical would make sense to me.



Version-Release number of selected component (if applicable):
subscription-manager-1.10.14-7.el7


How reproducible:
100%

Steps to Reproduce:
1. Open up subscription-manager-gui
2. Go to the All Available Subscriptions tab (assuming you're already registered)
3. Update the list to pull down subscriptions
4. Find a subscription that provides multiple products and observe the ordering of the products listed
5. Attach the subscription
6. Go over to My Subscriptions and look at the ordering of the provided products, it should be arranged differently now

You can do the same through cli using list --available and list --consumed

Actual results:
Products aren't in the same order

Expected results:
Products should be in the same order (and probably alphabetical, to keep things simple)

Additional info:

Comment 1 Matt Reid 2014-09-24 20:56:27 UTC
Created attachment 940910 [details]
RHCI in My Subscriptions

Comment 2 Matt Reid 2014-09-24 20:56:50 UTC
Created attachment 940911 [details]
RHCI in All Available Subscriptions

Comment 3 Matt Reid 2014-09-24 20:57:15 UTC
Created attachment 940912 [details]
RHCI in list --consumed

Comment 4 Matt Reid 2014-09-24 20:57:39 UTC
Created attachment 940913 [details]
RHCI in list --available

Comment 5 Bryan Kearney 2014-09-29 17:27:09 UTC
Acking 7.1

Comment 6 Devan Goodwin 2014-11-03 18:31:51 UTC
No sorting done on these at all. We could add that in all avail / my subs / CLI, but it could add a little processing time. In any case low priority, deferring to 6.7.

Comment 9 Devan Goodwin 2014-11-21 18:39:19 UTC
Adding sorting on these in all locations they're displayed seems reasonable. Assuming alphabetical on friendly name.

Comment 10 Devan Goodwin 2015-04-07 15:31:51 UTC
Nice to have but time constraints mean we never get to things like this, rather than continuing to defer we're closing for now.


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