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 1334863 - VDC guest subscriptions do not list any provided products and content
Summary: VDC guest subscriptions do not list any provided products and content
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.2.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: Christine Fouant
QA Contact: jcallaha
URL:
Whiteboard:
Depends On: 1421817
Blocks: 1395788 1405516
TreeView+ depends on / blocked
 
Reported: 2016-05-10 16:48 UTC by Tom McKay
Modified: 2024-06-13 20:41 UTC (History)
11 users (show)

Fixed In Version: rubygem-katello-3.0.0.74-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1395788 1405516 (view as bug list)
Environment:
Last Closed: 2017-03-06 08:26:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshots of the issue 01679627 (836.54 KB, application/zip)
2016-08-05 07:53 UTC, Stefan Nemeth
no flags Details
Patch to addresses issue (849 bytes, patch)
2016-11-16 21:33 UTC, Perry Gagne
pgagne: review? (mmccune)
Details | Diff
verification screenshot 1 (120.10 KB, image/png)
2017-02-28 20:41 UTC, jcallaha
no flags Details
verification screenshot 2 (154.86 KB, image/png)
2017-02-28 20:42 UTC, jcallaha
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1343067 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2017:0447 0 normal SHIPPED_LIVE Satellite 6.2.8 Async Bug Release 2017-03-06 13:23:41 UTC

Internal Links: 1395788

Description Tom McKay 2016-05-10 16:48:44 UTC
Assigning a guest subscription to a host does not list any repos on the "Product Content" page.

Comment 1 Tom McKay 2016-05-10 16:48:50 UTC
Created from redmine issue http://projects.theforeman.org/issues/14988

Comment 6 Stefan Nemeth 2016-08-05 07:53:27 UTC
Created attachment 1187793 [details]
screenshots of the issue 01679627

Comment 7 Christine Fouant 2016-08-29 19:55:37 UTC
Fixed by https://github.com/Katello/katello/pull/6257

Comment 10 Perry Gagne 2016-11-16 21:33:26 UTC
Created attachment 1221386 [details]
Patch to addresses issue

There are 2 types of subscriptions for Virtual Datacenter, the primary subscriptions and the guest subscriptions. 

The primary subscription comes from a manifest and will be used to create guest subscriptions. These will not have product content.

The guest subscriptions will be tied to a specific hypervisor at will be assigned to hosts on that hypervisor. These will have product content

This bug will fix the issue with guest subscriptions not showing product content. 

I have attached the patch from upstream that should fix this for 6.2.3. 

To apply it.

1. Download the patch to the Satellite, save it to some location. For example "/root/6257.patch"
2. Apply the patch:
    # cd /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.*/
    # patch -p1 < /root/6257.patch
3. Restart Katello services using "katello-service restart"

4. You may need to reindex subscriptions using the following:
    # foreman-rake console
    > User.current = User.first
    > Katello::Subscription.import_all
    > Katello::Pool.import_all
    > exit

5. Refresh the subscriptions page and product should now appear under VDC guest subscriptions.

Comment 13 jcallaha 2017-02-13 18:37:37 UTC
Blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1421817

Comment 14 jcallaha 2017-02-28 20:40:50 UTC
Verified in Satellite 6.2.8 snap 4

You can now see provided products as well as content. See attached for verification.

Comment 15 jcallaha 2017-02-28 20:41:42 UTC
Created attachment 1258491 [details]
verification screenshot 1

Comment 16 jcallaha 2017-02-28 20:42:52 UTC
Created attachment 1258493 [details]
verification screenshot 2

Comment 18 errata-xmlrpc 2017-03-06 08:26:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0447


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