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 1832593 - Manifest import and delete calls Actions::Pulp::Repository::Refresh for non-Library repositories
Summary: Manifest import and delete calls Actions::Pulp::Repository::Refresh for non-L...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.7.1
Assignee: Partha Aji
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-06 20:53 UTC by Mike McCune
Modified: 2020-08-20 17:50 UTC (History)
1 user (show)

Fixed In Version: tfm-rubygem-katello-3.14.0.21-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1827389
Environment:
Last Closed: 2020-06-08 13:18:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29611 0 Normal Closed Manifest import and delete calls Actions::Pulp::Repository::Refresh for non-Library repositories 2020-08-25 19:34:40 UTC
Red Hat Product Errata RHBA-2020:2422 0 None None None 2020-06-08 13:18:10 UTC

Description Mike McCune 2020-05-06 20:53:44 UTC
+++ This bug was initially created as a clone of Bug #1827389 +++

During the import of a new manifest or deletion of existing manifest the task will needlessly call Actions::Pulp::Repository::Refresh for non-Library repositories that are members of Content Views contained within Lifecycle Environments.

This can expand the order-of-magnitude of the import/delete routine to 10-100x higher than it needs to be.

On Satellites with large amounts of content views and LCEs there may be only 100 repositories in the Library but you end up with 10,000-30,000 repositories that get needlessly refreshed during the import/delete 

This causes customers to often have to wait hours and even up to a day to complete an import or delete.

--- Additional comment from  on 2020-04-23T19:25:22Z 

Since this bug report was entered in Red Hat Bugzilla, the 'sat-backlog' flag has been set to ? to ensure that it is properly evaluated for release.

--- Additional comment from  on 2020-04-23T19:25:22Z 

Since this issue was entered in Red Hat Bugzilla, the pm_ack has been set to + automatically for the next planned release.

--- Additional comment from  on 2020-04-23T19:43:39Z 

Connecting redmine issue https://projects.theforeman.org/issues/29611 from this bug

--- Additional comment from  on 2020-04-24T15:59:25Z 

The fix upstream yields multiple orders of magnitude speed improvements on manifest import and delete.

Tested this on an instance where a manifest import and delete required 1600+ calls to Repo refresh:

** Before patch: import and delete took 35 minutes

** After patch: 30 seconds

--- Additional comment from  on 2020-04-27T20:54:33Z 

Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29611 has been resolved.

Comment 9 errata-xmlrpc 2020-06-08 13:18:03 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-2020:2422


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