Project

General

Profile

Bug #9585

The 'Red Hat Repositories' page response is slow on enabling new repository.

Added by Justin Sherrill about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Revision 5d539e88 (diff)
Added by Justin Sherrill about 8 years ago

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

Revision db836057
Added by Justin Sherrill about 8 years ago

Merge pull request #5063 from jlsherrill/9585

fixes #9585 - speed up enabling redhat repos

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

Also available in: Atom PDF