Description of problem: If you go to the activation key page (content -> activation keys), it can take a long time for the page to load. It looks like two calls to candlepin are made for each key, each taking about 300msec. Ideally, the number of calls to candlepin would not scale linearly with the number of activation keys. If the activation key page could load each "page" of data in under 5 seconds, that would be much better. Version-Release number of selected component (if applicable): 6.2.7 Steps to Reproduce: 1. create 20 or 30 activation keys 2. view AK page Actual results: slow load time. I got 18 seconds locally but I've seen up to 45 seconds. Expected results: 5 second load time or better
Created redmine issue http://projects.theforeman.org/issues/20584 from this bug
Upstream bug assigned to paji
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20584 has been resolved.
Proposed for 6.3.0 since it is fixed upstream
Verified in Satellite 6.3 Snap 33. The page load times have been reduced significantly. See below averages as well as the attached screenshots. Load from other pages: 1.8s - 6.5s Reload: 7s Switching between paginated AK loads: 0.5 - 1.5s
Created attachment 1387951 [details] verification screenshot 1
Created attachment 1387952 [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/RHSA-2018:0336