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.

Bug 1101738

Summary: Product Content tab does not get populated for Activation Key
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: WebUIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bkearney, jmontleo, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:08:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Missing product content
none
List of subscriptions
none
activation key with product content tab populated none

Description Og Maciel 2014-05-27 20:01:32 UTC
Created attachment 899687 [details]
Missing product content

Description of problem:

The attached screenshot shows that when I click the Product Content tab for my activation key, I do not get a list of the subscriptions attached to it but a message saying "No repository content provided through subscriptions".

The activation key is associated to a content view that was published and promoted to DEV environment and is also associated to RHEL content as per https://gist.github.com/omaciel/eecee74971e6f1e948a6

Version-Release number of selected component (if applicable):

* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.7-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.7-1.el6_5.noarch
* candlepin-tomcat6-0.9.7-1.el6_5.noarch
* elasticsearch-0.90.10-4.el6sat.noarch
* foreman-1.6.0.13-1.el6sat.noarch
* foreman-compute-1.6.0.13-1.el6sat.noarch
* foreman-gce-1.6.0.13-1.el6sat.noarch
* foreman-libvirt-1.6.0.13-1.el6sat.noarch
* foreman-ovirt-1.6.0.13-1.el6sat.noarch
* foreman-postgresql-1.6.0.13-1.el6sat.noarch
* foreman-proxy-1.6.0.6-1.el6sat.noarch
* foreman-selinux-1.6.0-2.el6sat.noarch
* foreman-vmware-1.6.0.13-1.el6sat.noarch
* katello-1.5.0-24.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.44-1.el6sat.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* pulp-katello-plugins-0.3-1.el6sat.noarch
* pulp-nodes-common-2.4.0-0.18.beta.el6sat.noarch
* pulp-nodes-parent-2.4.0-0.18.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.0-0.18.beta.el6sat.noarch
* pulp-puppet-tools-2.4.0-0.18.beta.el6sat.noarch
* pulp-rpm-plugins-2.4.0-0.18.beta.el6sat.noarch
* pulp-selinux-2.4.0-0.18.beta.el6sat.noarch
* pulp-server-2.4.0-0.18.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch
* rubygem-hammer_cli-0.1.0-13.el6sat.noarch
* rubygem-hammer_cli_foreman-0.1.0-15.el6sat.noarch
* rubygem-hammer_cli_foreman_tasks-0.0.2-6.el6sat.noarch
* rubygem-hammer_cli_katello-0.0.3-26.el6sat.noarch

How reproducible:


Steps to Reproduce:
1. Create an activation key associated to a content view that has RHEL content and has been published/promoted to Library + 1
2. Select the activation key, associate RHEL subscription to it then click the Product Content tab
3.

Actual results:

Tab does not list subscriptions

Expected results:


Additional info:

==> /var/log/foreman/production.log <==
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/activation_keys/index.json.rabl within katello/api/v2/layouts/collection (942.7ms)
Completed 200 OK in 967ms (Views: 934.6ms | ActiveRecord: 11.0ms)
Processing by Katello::EnvironmentsController#registerable_paths as JSON
  Parameters: {"organization_id"=>"1"}
Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 5.0ms)
Processing by Katello::Api::V2::ActivationKeysController#show as JSON
  Parameters: {"fields"=>"full", "api_version"=>"v2", "id"=>"2"}

==> /var/log/candlepin/candlepin.log <==
2014-05-27 15:54:02,684 [req=40afa5b9-0965-4cd4-b1c3-9d03db90bc7d, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/activation_keys/8a90e0eb463ddb8501463ecc8ecb03b6
2014-05-27 15:54:02,752 [req=40afa5b9-0965-4cd4-b1c3-9d03db90bc7d, org=ACME_Corporation] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=68ms
2014-05-27 15:54:02,775 [req=5713e919-f71e-45cf-97a7-59206bc54dc1, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/activation_keys/8a90e0eb463ddb8501463ecc8ecb03b6
2014-05-27 15:54:02,838 [req=5713e919-f71e-45cf-97a7-59206bc54dc1, org=ACME_Corporation] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=63ms
2014-05-27 15:54:02,977 [req=7088d5d8-0f94-4c90-87fc-3e986067f1dd, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/activation_keys/8a90e0eb463ddb8501463ecc8ecb03b6/content_overrides
2014-05-27 15:54:03,004 [req=7088d5d8-0f94-4c90-87fc-3e986067f1dd, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=27ms
2014-05-27 15:54:03,035 [req=febb432c-09eb-4acb-b73f-594b0f0a39e9, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/activation_keys/8a90e0eb463ddb8501463ecc8ecb03b6
2014-05-27 15:54:03,112 [req=febb432c-09eb-4acb-b73f-594b0f0a39e9, org=ACME_Corporation] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=77ms

==> /var/log/foreman/production.log <==
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/activation_keys/show.json.rabl within katello/api/v2/layouts/resource (487.9ms)
Completed 200 OK in 495ms (Views: 483.2ms | ActiveRecord: 6.2ms)
Processing by Katello::Api::V2::ProductsController#index as JSON
  Parameters: {"organization_id"=>"1", "api_version"=>"v2", "activation_key_id"=>"2"}

==> /var/log/candlepin/candlepin.log <==
2014-05-27 15:54:08,980 [req=cd29f749-6f14-4466-ba08-1150081d2673, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/activation_keys/8a90e0eb463ddb8501463ecc8ecb03b6
2014-05-27 15:54:09,052 [req=cd29f749-6f14-4466-ba08-1150081d2673, org=ACME_Corporation] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=72ms

==> /var/log/foreman/production.log <==
Failed to retrieve all Katello::Product search results (20/20 found.)

==> /var/log/candlepin/candlepin.log <==
2014-05-27 15:54:09,133 [req=6835b5a8-f5e2-49aa-a8de-dd3a0a77e774, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/73
2014-05-27 15:54:09,146 [req=6835b5a8-f5e2-49aa-a8de-dd3a0a77e774, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=13ms
2014-05-27 15:54:09,351 [req=f276cf86-cbeb-448d-971d-4df69874f923, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/247
2014-05-27 15:54:09,356 [req=f276cf86-cbeb-448d-971d-4df69874f923, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=5ms
2014-05-27 15:54:09,394 [req=d61a52da-badc-443b-a41d-73366ea841cc, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/217
2014-05-27 15:54:09,402 [req=d61a52da-badc-443b-a41d-73366ea841cc, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=8ms
2014-05-27 15:54:09,460 [req=9b24ea09-c29f-45e7-b23e-a97e1861324e, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/155
2014-05-27 15:54:09,468 [req=9b24ea09-c29f-45e7-b23e-a97e1861324e, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=8ms
2014-05-27 15:54:09,524 [req=035224cc-177f-4fc1-8b01-8a1305c538db, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/181
2014-05-27 15:54:09,531 [req=035224cc-177f-4fc1-8b01-8a1305c538db, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=7ms
2014-05-27 15:54:09,585 [req=b42f6dac-9ae4-474d-9d2b-40a041edc768, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/135
2014-05-27 15:54:09,596 [req=b42f6dac-9ae4-474d-9d2b-40a041edc768, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=11ms
2014-05-27 15:54:09,654 [req=c9587208-fb1f-4e96-9705-f557cfc0ef3d, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/183
2014-05-27 15:54:09,661 [req=c9587208-fb1f-4e96-9705-f557cfc0ef3d, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=7ms
2014-05-27 15:54:09,703 [req=410a7429-ef8f-4ec4-807a-b09b19913fde, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/169
2014-05-27 15:54:09,708 [req=410a7429-ef8f-4ec4-807a-b09b19913fde, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=5ms
2014-05-27 15:54:09,746 [req=7edd7cb1-77c4-49d6-aba5-7605438aaef7, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/184
2014-05-27 15:54:09,751 [req=7edd7cb1-77c4-49d6-aba5-7605438aaef7, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=5ms
2014-05-27 15:54:09,915 [req=c99892c6-fafd-487a-aa62-62a9705f6403, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/93
2014-05-27 15:54:09,922 [req=c99892c6-fafd-487a-aa62-62a9705f6403, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=7ms
2014-05-27 15:54:09,967 [req=08026c1f-5ead-4c29-bd57-9ba8a7792377, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/234
2014-05-27 15:54:09,973 [req=08026c1f-5ead-4c29-bd57-9ba8a7792377, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=6ms
2014-05-27 15:54:10,019 [req=9ae502be-3fab-4b4e-bbec-38edbbd78ccf, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/231
2014-05-27 15:54:10,025 [req=9ae502be-3fab-4b4e-bbec-38edbbd78ccf, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=6ms
2014-05-27 15:54:10,073 [req=e74bb016-8949-4ff3-94a8-9e0c65ed5779, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/85
2014-05-27 15:54:10,081 [req=e74bb016-8949-4ff3-94a8-9e0c65ed5779, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=8ms
2014-05-27 15:54:10,136 [req=dcc45ed1-dfa1-413d-8b9e-e937b2c3d709, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/229
2014-05-27 15:54:10,143 [req=dcc45ed1-dfa1-413d-8b9e-e937b2c3d709, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=7ms
2014-05-27 15:54:10,194 [req=36b5463b-2e7e-4642-a828-9bba685e02cb, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/230
2014-05-27 15:54:10,203 [req=36b5463b-2e7e-4642-a828-9bba685e02cb, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=10ms
2014-05-27 15:54:10,265 [req=47c6a635-0f42-411a-bd46-567c3d78e331, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/176
2014-05-27 15:54:10,277 [req=47c6a635-0f42-411a-bd46-567c3d78e331, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=12ms
2014-05-27 15:54:10,347 [req=c99aa88c-6a2f-4d6a-89dd-23c858278c61, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/200
2014-05-27 15:54:10,355 [req=c99aa88c-6a2f-4d6a-89dd-23c858278c61, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=8ms
2014-05-27 15:54:10,540 [req=cb8f3cd6-6bac-4d48-8d6f-5275e8a45103, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/133
2014-05-27 15:54:10,545 [req=cb8f3cd6-6bac-4d48-8d6f-5275e8a45103, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=5ms
2014-05-27 15:54:10,579 [req=15e7333b-e2dc-41a1-9c5d-251441e5945f, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/173
2014-05-27 15:54:10,585 [req=15e7333b-e2dc-41a1-9c5d-251441e5945f, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=6ms
2014-05-27 15:54:10,634 [req=093fab51-302c-464a-a476-6810bcdde3bd, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/83
2014-05-27 15:54:10,645 [req=093fab51-302c-464a-a476-6810bcdde3bd, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=11ms

==> /var/log/foreman/production.log <==
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/products/index.json.rabl within katello/api/v2/layouts/collection (1633.4ms)
Completed 200 OK in 1783ms (Views: 1540.7ms | ActiveRecord: 99.0ms)

Comment 1 Og Maciel 2014-05-27 20:04:47 UTC
Created attachment 899690 [details]
List of subscriptions

This screenshot shows that my activation key **is** associated with RHEL content.

Comment 3 sthirugn@redhat.com 2014-06-02 14:19:41 UTC
Marking blocker as it prevents further testing of this feature.

Comment 4 Tom McKay 2014-06-17 11:42:35 UTC
Overlap of other BZs; will be available in next snap.

Comment 6 sthirugn@redhat.com 2014-06-19 03:25:35 UTC
Verified.  Now I am able to see content in Activation key -> Product Content tab (see screenshot)

Version Tested:

* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.19-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.19-1.el6_5.noarch
* candlepin-tomcat6-0.9.19-1.el6_5.noarch
* elasticsearch-0.90.10-4.el6sat.noarch
* foreman-1.6.0.18-1.el6sat.noarch
* foreman-compute-1.6.0.18-1.el6sat.noarch
* foreman-gce-1.6.0.18-1.el6sat.noarch
* foreman-libvirt-1.6.0.18-1.el6sat.noarch
* foreman-ovirt-1.6.0.18-1.el6sat.noarch
* foreman-postgresql-1.6.0.18-1.el6sat.noarch
* foreman-proxy-1.6.0.8-1.el6sat.noarch
* foreman-selinux-1.6.0-4.el6sat.noarch
* foreman-vmware-1.6.0.18-1.el6sat.noarch
* katello-1.5.0-26.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.49-1.el6sat.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* openldap-devel-2.4.23-32.el6_4.1.x86_64
* pulp-katello-0.3-3.el6sat.noarch
* pulp-nodes-common-2.4.0-0.21.beta.el6sat.noarch
* pulp-nodes-parent-2.4.0-0.21.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.0-0.21.beta.el6sat.noarch
* pulp-puppet-tools-2.4.0-0.21.beta.el6sat.noarch
* pulp-rpm-plugins-2.4.0-0.21.beta.el6sat.noarch
* pulp-selinux-2.4.0-0.21.beta.el6sat.noarch
* pulp-server-2.4.0-0.21.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch

Comment 7 sthirugn@redhat.com 2014-06-19 03:26:16 UTC
Created attachment 910228 [details]
activation key with product content tab populated

Comment 8 Bryan Kearney 2014-07-02 14:08:38 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 9 Bryan Kearney 2014-07-02 14:09:59 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0