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 1405571 - Red hat repositories is too slow
Summary: Red hat repositories is too slow
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Performance
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Daniel Lobato Garcia
QA Contact: Bruno Rocha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-16 18:10 UTC by Daniel Lobato Garcia
Modified: 2019-09-25 20:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:32:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17718 0 None None None 2016-12-16 19:02:22 UTC

Description Daniel Lobato Garcia 2016-12-16 18:10:26 UTC
Description of problem:

Both listing repos and clicking on each repo is a very slow operation. From what I saw, it asks for all available data in candlepin about each product/subscription.
This is incredibly big to parse and to transfer at times. Candlepin provides an API to request only the necessary fields. Therefore we should use that.


Version:
How reproducible:
Always


Steps to Reproduce:
1. Go to red hat repositories
2. Wait a lot of time even if you have few repos. See the calls to candlepin API requesting all available info
3. Click on any repo. Wait a lot of time for that info.

Expected results:

It should just request the necessary data which would make the loading time much faster.

Comment 1 Daniel Lobato Garcia 2016-12-16 18:11:34 UTC
Created redmine issue http://projects.theforeman.org/issues/17718 from this bug

Comment 2 Bryan Kearney 2016-12-16 21:05:02 UTC
Upstream bug assigned to dlobatog

Comment 3 Bryan Kearney 2016-12-16 21:05:05 UTC
Upstream bug assigned to dlobatog

Comment 4 Bryan Kearney 2016-12-22 17:04:49 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17718 has been resolved.

Comment 5 Bruno Rocha 2017-12-18 17:00:36 UTC
Using: 

satellite-6.3.0-23.0.el7sat.noarch

I experienced an instantaneous load of repositories and looking to logs and request console I don't see multiple calls to candlepin.

Comment 6 Bryan Kearney 2018-02-21 16:32:20 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


Note You need to log in before you can comment on or make changes to this bug.