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.
Created attachment 1354182[details]
Group of scrrenshots for issue
Description of problem:
Packages view always show packages from first selected (filtered) repository
Version-Release number of selected component (if applicable):
Satellite 6.3.0 snap 24
satellite-6.3.0-21.0.beta.el7sat.noarch
foreman-1.15.6.3-1.el7sat.noarch
katello-3.4.5-6.el7sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. Create product.
2. Add custom repository 'zoo' to product, sync it.
3. Add Red Hat subscription.
4. Add Red Hat repository with Satellite too, sync it.
5. Navigate to packages.
6. Select Red Hat repository. RPMs related to it may be shown
7. Select custom repository 'zoo'.
Actual results:
Packages related to Red Hat repository shown
Expected results:
Packages related to 'zoo' repository should be shown
Comment 11Oleksandr Shtaier
2017-12-19 15:19:14 UTC
Yes, that is a regression
'Package' page seems completely broken as once you select any repository you cannot back to previous state even 'All repositories' selected
Pagination functionality is also stop to work
VERIFIED
Version tested:
Satellite 6.3 snap 32
Steps:
1. Sync repos from manifest
2. Created custom product and sync it
3. Navigated to packages page
Filtering custom repo as well as red hat repositories works.
2018-01-18 06:13:29 5075d316 [app] [I] Started GET "/katello/api/v2/packages?organization_id=1&page=1&paged=true&per_page=20&repository_id=57&search=" for IP at 2018-01-18 06:13:29 -0500
2018-01-18 06:13:29 5075d316 [app] [I] Processing by Katello::Api::V2::PackagesController#index as JSON
2018-01-18 06:13:29 5075d316 [app] [I] Parameters: {"organization_id"=>"1", "page"=>"1", "paged"=>"true", "per_page"=>"20", "repository_id"=>"57", "search"=>"", "api_version"=>"v2"}
2018-01-18 06:13:29 5075d316 [app] [I] Current user: admin (administrator)
2018-01-18 06:13:29 5075d316 [app] [I] Expire fragment views/tabs_and_title_records-3 (0.1ms)
2018-01-18 06:13:30 5075d316 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.51/app/views/katello/api/v2/packages/index.json.rabl within katello/api/v2/layouts/collection (122.1ms)
2018-01-18 06:13:30 5075d316 [app] [I] Completed 200 OK in 143ms (Views: 100.7ms | ActiveRecord: 27.5ms)
Comment 20Satellite Program
2018-02-21 16:54:37 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/RHSA-2018:0336
Created attachment 1354182 [details] Group of scrrenshots for issue Description of problem: Packages view always show packages from first selected (filtered) repository Version-Release number of selected component (if applicable): Satellite 6.3.0 snap 24 satellite-6.3.0-21.0.beta.el7sat.noarch foreman-1.15.6.3-1.el7sat.noarch katello-3.4.5-6.el7sat.noarch How reproducible: Always Steps to Reproduce: 1. Create product. 2. Add custom repository 'zoo' to product, sync it. 3. Add Red Hat subscription. 4. Add Red Hat repository with Satellite too, sync it. 5. Navigate to packages. 6. Select Red Hat repository. RPMs related to it may be shown 7. Select custom repository 'zoo'. Actual results: Packages related to Red Hat repository shown Expected results: Packages related to 'zoo' repository should be shown