Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionAndrii Balakhtar
2016-07-26 10:17:58 UTC
Created attachment 1184152[details]
production.log
Description of problem:
`activation-key product-content` command/request returns only RH products associated with activation key, custom products are missing in output.
As after subscribing a host with that activation key i am able to install packages from custom product i assume custom product is actually associated with activation key, it's just not displayed via CLI/API/UI (`hammer activation-key product-content` command, GET /katello/api/activation_keys/:id/product_content request or `Product Content` tab on UI).
Version-Release number of selected component (if applicable):
Satellite 6.2.0 RCM
How reproducible:
Always
Steps to Reproduce:
1. Create Activation key
2. Associate RH product with Activation Key
3. Associate custom product with Activation Key
4. Check products associated with activation key by running `hammer activation-key product-content` command, GET /katello/api/activation_keys/:id/product_content request or `Product Content` tab on UI.
Actual results:
Only RH product is shown as associated.
Expected results:
Both products are shown.
Additional info:
Since just the Subscriptions need to be indexed here, a shorter way to reindex the subscriptions as a workaround is to run
#foreman-rake console
>Katello::Subscription.import_all
>Katello::Pool.import_all
Since just the Subscriptions need to be indexed here, a shorter way to reindex the subscriptions as a workaround is to run
#foreman-rake console
>Katello::Subscription.import_all
>Katello::Pool.import_all
I'm inclined to think https://bugzilla.redhat.com/show_bug.cgi?id=1362194 will fix this (in 6.2.2), but don't know for sure as it is a transient error that is hard to reproduce in a dev environment.
We should see if anyone using 6.2.2 or greater hits this bug in the future.
Verification for QE:
1. Create Activation key
2. Associate RH product with Activation Key
3. Associate custom product with Activation Key
4. Check products associated with activation key by running `hammer activation-key product-content` command, GET /katello/api/activation_keys/:id/product_content request or `Product Content` tab on UI.
make sure both RH and custom products are shown
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:1191
Created attachment 1184152 [details] production.log Description of problem: `activation-key product-content` command/request returns only RH products associated with activation key, custom products are missing in output. As after subscribing a host with that activation key i am able to install packages from custom product i assume custom product is actually associated with activation key, it's just not displayed via CLI/API/UI (`hammer activation-key product-content` command, GET /katello/api/activation_keys/:id/product_content request or `Product Content` tab on UI). Version-Release number of selected component (if applicable): Satellite 6.2.0 RCM How reproducible: Always Steps to Reproduce: 1. Create Activation key 2. Associate RH product with Activation Key 3. Associate custom product with Activation Key 4. Check products associated with activation key by running `hammer activation-key product-content` command, GET /katello/api/activation_keys/:id/product_content request or `Product Content` tab on UI. Actual results: Only RH product is shown as associated. Expected results: Both products are shown. Additional info: