Bug 1588193

Summary: [RFE] allow setting limits.conf via custom-hiera.yaml
Product: Red Hat Satellite Reporter: Chris Duryee <cduryee>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.1CC: bkearney, cwelton, pgagne, riehecky, stbenjam, zhunting
Target Milestone: UnspecifiedKeywords: FieldEngineering, FutureFeature, PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-04 14:01:40 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 Chris Duryee 2018-06-06 22:11:43 UTC
Description of problem:

Users commonly need to set limits.conf for httpd and qdrouterd. It should be possible to do this via custom-hiera.yaml, so users don't have to manage the files in a one-off way.

Typical settings are:

# cat /etc/systemd/system/httpd.service.d/limits.conf
[Service]
LimitNOFILE=640000

# cat /etc/systemd/system/qdrouterd.service.d/limits.conf
[Service]
LimitNOFILE=301000

NOTE: I would recommend that these files not be created by default, but only if the user requests it via puppet. Some users may set their limits via other means already, and it would cause a lot of confusion if we interfered with that on a default install.

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

Comment 1 Chris Duryee 2018-06-07 16:52:43 UTC
Please also allow setting of LimitNOFILE for /etc/systemd/system/qpidd.service.d/limits.conf

Comment 2 Stephen Benjamin 2018-07-23 17:37:07 UTC
Qpid should already be possible in 6.3:

qpid::open_file_limit: 10000
qpid::router::open_file_limit: 301000

See https://github.com/theforeman/puppet-qpid/blob/master/manifests/router/service.pp and https://github.com/theforeman/puppet-qpid/blob/master/manifests/service.pp

Comment 3 Bryan Kearney 2019-11-04 14:01:40 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.