Bug 2233490

Summary: Add option in satellite-installer to configure IMPORT_WORKERS_PERCENT in /etc/pulp/settings.py
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: InstallationAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.12.5CC: egolov, ehelms, lpramuk, rlavi
Target Milestone: 6.15.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:14:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gaurav Talreja 2023-08-22 10:46:16 UTC
Description of problem:
Reporting this based on discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2227908

Version-Release number of selected component (if applicable):
Satellite 6.12.5, 6.13.z and 6.14.0

How reproducible:
Always

Steps to Reproduce:
1. Configure IMPORT_WORKERS_PERCENT in /etc/pulp/settings.py
2. Run the satellite-installer 
3. Check IMPORT_WORKERS_PERCENT in /etc/pulp/settings.py

Actual results:
its gone

Expected results:
it should be configurable by installer and should be present

Additional info:
https://github.com/theforeman/puppet-foreman_proxy_content/pull/456 https://github.com/theforeman/puppet-pulpcore/pull/302

Comment 1 Evgeni Golov 2023-08-22 13:51:27 UTC
The PRs are
https://github.com/theforeman/puppet-pulpcore/pull/302
https://github.com/theforeman/puppet-foreman_proxy_content/pull/456

Both are merged and will be part of foreman-installer 3.8

Comment 3 Lukas Pramuk 2024-01-04 11:28:06 UTC
VERIFIED.

@Satellite 6.15.0 Snap 4
foreman-installer-3.9.0-1.el8sat.noarch

by the following manual reproducer:

# satellite-installer --foreman-proxy-content-pulpcore-import-workers-percent 42

# grep IMPORT_WORKERS_PERCENT /etc/pulp/settings.py 
IMPORT_WORKERS_PERCENT = 42

# satellite-installer --reset-foreman-proxy-content-pulpcore-import-workers-percent

# grep IMPORT_WORKERS_PERCENT /etc/pulp/settings.py 
# IMPORT_WORKERS_PERCENT = 100

>>> IMPORT_WORKERS_PERCENT can be customized with new installer option --foreman-proxy-content-pulpcore-import-workers-percent

Comment 6 errata-xmlrpc 2024-04-23 17:14:09 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.15.0 release), 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-2024:2010