Bug 1334863
Summary: | VDC guest subscriptions do not list any provided products and content | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tom McKay <tomckay> | ||||||||||
Component: | Subscription Management | Assignee: | Christine Fouant <cfouant> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||||||
Severity: | high | Docs Contact: | |||||||||||
Priority: | high | ||||||||||||
Version: | 6.2.0 | CC: | bbuckingham, bkearney, cfouant, ehelms, jcallaha, mmccune, snemeth, sreber, sthirugn, tomckay, zhunting | ||||||||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||||
Target Release: | Unused | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | rubygem-katello-3.0.0.74-1 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | |||||||||||||
: | 1395788 1405516 (view as bug list) | Environment: | |||||||||||
Last Closed: | 2017-03-06 08:26:38 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: | |||||||||||||
Bug Depends On: | 1421817 | ||||||||||||
Bug Blocks: | 1395788, 1405516 | ||||||||||||
Attachments: |
|
Description
Tom McKay
2016-05-10 16:48:44 UTC
Created from redmine issue http://projects.theforeman.org/issues/14988 Created attachment 1187793 [details]
screenshots of the issue 01679627
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.
Verified in Satellite 6.2.8 snap 4 You can now see provided products as well as content. See attached for verification. Created attachment 1258491 [details]
verification screenshot 1
Created attachment 1258493 [details]
verification screenshot 2
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 |