Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
+++ 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.
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