Bug 1330752

Summary: available repos page under content view page does not paginate results
Product: Red Hat Satellite Reporter: Chris Duryee <cduryee>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bkearney, ikanner
Target Milestone: UnspecifiedKeywords: Performance, 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: 2018-09-04 17:47:42 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:

Description Chris Duryee 2016-04-26 21:07:48 UTC
Description of problem:

If you have many products with repos and go to 'content_views/<id>/repositories/yum/available', the page will take multiple seconds to load.

It looks like one of the calls is to '/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=3&full_result=true&library=true&organization_id=3&page=1&search=0', which can take 4+ seconds with 140-ish repos enabled on a speedy physical host.

If the same call is made without full_result=true, the call is significantly faster. One idea to fix this would be to paginate the repo add page, but there may be other ways to avoid this API call or make it faster.


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

Comment 3 Ido Kanner 2018-06-25 09:46:06 UTC
I can't reproduce it, I can't find when it was solved, or maybe I'm missing something on my tests

Comment 4 Bryan Kearney 2018-09-04 17:47:42 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.