Bug 716221 - subscription-manager-gui displays bundledProducts for a modifier subscription, but no productIds will ever be installed for these bundledProducts
Summary: subscription-manager-gui displays bundledProducts for a modifier subscription...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
: 784691 (view as bug list)
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2011-06-23 16:44 UTC by John Sefler
Modified: 2015-05-14 16:04 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-06 21:09:03 UTC
Embargoed:


Attachments (Terms of Use)
subscription-manager-gui display of bundledProducts for a "modifier" subscription. (89.36 KB, image/png)
2011-06-23 16:44 UTC, John Sefler
no flags Details

Description John Sefler 2011-06-23 16:44:34 UTC
Created attachment 509572 [details]
subscription-manager-gui display of bundledProducts for a "modifier" subscription.

Description of problem:
Viewing the attached screenshot you will see that I have subscribed to the "Extended Update Support for Red Hat Enterprise Linux Server (8 sockets); sku RH1710028".  This EUS subscription is somewhat special in that it is a "modifier" subscription which means that it is supposed to provide additional content sets to the system ONLY when the system is also subscribed to a product that the modifier subscription is supposed to add additional content for.

Now take another look at the attached screenshot of subscription-manager-gui after subscribing to the Extended Update Support for RHEL.  It appears to contain 10 bundled products.  However these 10 bundled products effectively represent 10 content sets for which no productid will ever be installed.  Consequently it appears that 0/10 products are installed.  This is misleading.  In fact, the screenshot shows that I am also subscribed to RHEL, Resilient Storage, and High Avail.  As such, the EUS subscription should now grant yum access to the EUS content repos for RHEL, Resilient Storage, and High Availability.

The problem is cosmetic in the subscription-manager-gui.  The misleading display of the bundledProducts for the "modifier" EUS subscription AND the misleading "0/10" value entered under the "Installed Products" column don't accurately represent what this special "modifier" subscription actually provides.



Version:
This problem applies to the subscription-manager package released on:
Rhel57 subscription-manager-0.95.5.21-1.el5
Rhel61 subscription-manager-0.95.17-1.el6_1.x86_64

Comment 2 John Sefler 2011-06-24 14:04:04 UTC
Thinking out loud about a resolution, I've got two suggestions...

1. When candlepin generates the entitlement cert, simply leave out the product namespaces. I think this would cause the subscription-manager-gui to simply show an empty list of bundledProducts.  Then the "Installed Products" column would report "0/0".  Changing this case to display "" would probably be nicer.

OR

2. When candlepin generates the entitlement cert, change the product namespaces from the bundled products to the namespaces for the products that this modifier subscription is actually changing/supplementing.  As result, I think the "Installed Products" statistic would be correctly reported for what products are actually installed and being modified.  I like this idea.  It's the most informative.  The only drawback I see from it is the "Bundled Products" label in the gui would be misleading.  In this case, a label of "Modified Products" might be better.

Comment 5 Bryan Kearney 2012-02-21 17:51:19 UTC
*** Bug 784691 has been marked as a duplicate of this bug. ***

Comment 6 William Poteat 2013-11-21 20:42:48 UTC
I see the correct behavoir in the current build.

Comment 7 John Sefler 2014-03-06 21:09:03 UTC
I was wrong about this bug.
Yes - the EUS subscription is indeed a modifier subscription, however the products that it provides are new EUS product certs that will be installed onto the system once a package from an entitled EUS repo is installed.  As a result on a rhel server machine for example, you can end up with additional product certs

1. 69.pem - Red Hat Enterprise Linux Server  (originally installed before subscribing to the EUS subscription)

2. 84.pem - Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support (after subscribing to EUS and yum installing a package for its repo)

3. 91.pem - Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support (after subscribing to EUS and yum installing a package for its repo)

and more...


Moving to CLOSED NOTABUG


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