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.

Bug 1993216

Summary: Expose pulpcore WORKER_TTL setting in installer
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: InstallationAssignee: Eric Helms <ehelms>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: gtalreja, pcreech, wclark
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-installer-2.5.2.9-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:13:06 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 Justin Sherrill 2021-08-12 14:47:53 UTC
Description of problem:

We need to expose the worker timeout here:

https://github.com/pulp/pulpcore/blob/master/docs/configuration/settings.rst#worker_ttl


so that users can adjust this

Comment 1 Eric Helms 2021-09-09 15:44:40 UTC
Created redmine issue https://projects.theforeman.org/issues/33446 from this bug

Comment 2 Bryan Kearney 2021-09-09 16:05:07 UTC
Upstream bug assigned to ehelms

Comment 3 Bryan Kearney 2021-09-09 16:05:09 UTC
Upstream bug assigned to ehelms

Comment 8 Justin Sherrill 2021-10-20 13:23:14 UTC
confirmed missing from build

Comment 9 Devendra Singh 2021-10-26 05:42:27 UTC
Verified on 6.10 Snap24.

Verification steps:

1- Updated the pulpcore worker_ttl timeout in custom-hiera.yaml file.

# cat /etc/foreman-installer/custom-hiera.yaml 
---
...
pulpcore::worker_ttl: 100 

2- Ran the satellite installer and it was completed successfully.

3- Checked the updated value in the /etc/pulp/settings.py and it was updated.

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

4- Checked the WORKER_TTL entry in pulpcore manifest init.py and it was there.

# grep worker_ttl /usr/share/foreman-installer/modules/pulpcore/manifests/init.pp
# @param worker_ttl
  Optional[Integer[0]] $worker_ttl = undef,

5- Removed the pulpcore worker_ttl timeout from custom-hiera.yaml file and ran the installer again, the updated changes rolled back successfully.
# grep WORKER_TTL /etc/pulp/settings.py
#

6- Verified it in the latest foreman-installer version.

# rpm -q foreman-installer
foreman-installer-2.5.2.10-1.el7sat.noarch

Comment 12 errata-xmlrpc 2021-11-16 14:13:06 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 (Moderate: Satellite 6.10 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-2021:4702