Bug #9585
The 'Red Hat Repositories' page response is slow on enabling new repository.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120717
Description of problem:
The 'Red Hat Repositories' page response is slow on enabling new repository.
Version-Release number of selected component (if applicable):
Red Hat Satellite 6.0.3
How reproducible:
Every time.
Steps to Reproduce:
1. Open Content-->Red Hat Repositories page
2. From product try to enable repository.
3. Its slow to enable repository and processing graphics(image) keeps on loading.
Actual results:
The repository enabling process is slow and takes time to complete.
Expected results:
The repository enabling should be quick.
Additional info:
I tried to enable RHEL 6 rpms repository on test Satellite which is having 10 GB RAM, it takes around 10+ seconds to enable it.
There was bugzilla filed for this page 1008636 and seems that it has been fixed but still slowness can be observed specifically when enabling base channels/repositories like RHEL 6 rpms.
Associated revisions
History
#1
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Target version set to 67
- Pull request https://github.com/Katello/katello/pull/5063 added
- Pull request deleted (
)
#2
Updated by Eric Helms about 8 years ago
- Legacy Backlogs Release (now unused) set to 23
- Triaged changed from No to Yes
#3
Updated by Justin Sherrill about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|5d539e88388f10d20f7c6f5a1b59b9dff8f56b1c.
fixes #9585 - speed up enabling redhat repos
this fix makes 2 changes:
1. fetch /repodata/repomd.xml instead of just /repodata/. The repodata index takes ~10 seconds to render
2. delay metadata generation into a 2nd task. This way if long running syncs are running the create will still be short