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 1323009 - Packages are fetched twice per repo during content view publish
Summary: Packages are fetched twice per repo during content view publish
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Performance
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Corey Welton
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-01 00:16 UTC by Eric Helms
Modified: 2019-09-25 20:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:41:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14428 0 None None None 2016-04-22 15:49:12 UTC

Description Eric Helms 2016-04-01 00:16:06 UTC
During a content view publish, we fetch packages for errata and package groups to purge empty errata and empty package groups from the resulting repository and then at the end we index content. We could index the content from the new repository (i.e. after filters have been applied within Pulp to create the new repo) and then perform the purging by using the indexed content in our repository instead of going to Pulp for that data.

Comment 1 Eric Helms 2016-04-01 00:16:08 UTC
Created from redmine issue http://projects.theforeman.org/issues/14428

Comment 3 Mike McCune 2016-04-06 23:23:09 UTC
I have also noticed a performance degradation between 2.4 -> 3.0:

2.4:

Content View with 15000 Packages: 3 minute publish time

3.0:

Content View with 15000 Packages: 5 minute publish time

same hardware, no load

Comment 4 Bryan Kearney 2016-04-13 00:02:20 UTC
Upstream bug assigned to jsherril

Comment 5 Chris Duryee 2016-04-13 19:53:48 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1326941 created to address comment #3.

Comment 6 Bryan Kearney 2016-04-20 14:02:47 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14428 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|c74960743169a7dc1410f2bcb3a3df0d6d5d230b.

Comment 7 Corey Welton 2016-05-24 20:43:37 UTC
Verified (I think) in SNAP 12.1

Published a CV with RHEL7+SCL (14000+ packages) and it took ~3 minutes.

In general, publish seems to be much more snappy than it has been in previous composes.

Comment 8 Bryan Kearney 2016-07-27 11:41:14 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/RHBA-2016:1501


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