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 2227093 - Task queue can be overloaded with import tasks to the exclusion of other work
Summary: Task queue can be overloaded with import tasks to the exclusion of other work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.12.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.14.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-27 19:49 UTC by Daniel Alley
Modified: 2023-11-08 14:21 UTC (History)
8 users (show)

Fixed In Version: pulpcore-3.22.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2227908 2231501 (view as bug list)
Environment:
Last Closed: 2023-11-08 14:20:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulpcore issues 4068 0 None closed PulpImport can overload the task-queue 2023-07-28 18:05:09 UTC
Red Hat Issue Tracker SAT-19221 0 None None None 2023-07-27 19:50:15 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:21:23 UTC

Description Daniel Alley 2023-07-27 19:49:10 UTC
Description of problem:

Import dispatches a task-per-repository. For large imports, with large repositories, this means that Pulp can't do anything else until the import is finished or nearly so, as all workers are busy importing repositories.


Version-Release number of selected component (if applicable):

6.12

How reproducible: 100%

Comment 1 Robin Chan 2023-07-28 18:05:11 UTC
The Pulp upstream bug status is at closed. Updating the external tracker on this bug.

Comment 4 Gaurav Talreja 2023-09-26 10:27:14 UTC
VERIFIED.

Tested on Satellite 6.14.0 Snap 17.0
Version: python39-pulpcore-3.22.15-1.el8pc.noarch

Steps and observations:
1. Sync'ed repos as per 2*available pulpcore-workers, created and published the CV, and export a content view version
2. Create a new org, upload manifest and run the content import with IMPORT_WORKERS_PERCENT setting.
3. When IMPORT_WORKERS_PERCENT isn't set in /etc/pulp/settings.py so it is default IMPORT_WORKERS_PERCENT=100, then no syncs were working while import was going on, and after import task completed repo sync worked nearly after an hour for small repos sync.
4. When IMPORT_WORKERS_PERCENT=50 is set in /etc/pulp/settings.py, then while import task is going on, which will utilize half of the available workers and syncs also works along with import without waiting for import tasks to finish.

Also we could check for the workers in use for content-import task with commands like "pulp task list --state running" and "pulp worker list --online"

And we've BZ 2233490 created to make this setting configurable with installer, as per discussion happened in its 6.12.z clone BZ.

Comment 7 errata-xmlrpc 2023-11-08 14:20:16 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 (Important: Satellite 6.14 security and bug fix update), 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/RHSA-2023:6818


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