Project

General

Profile

Actions

Feature #20686

open

Include splay in puppet configuration for clients

Added by Ondřej Pražák over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1. Proposed title of this feature request
Include the splay option to the puppet configuration.

2. What is the nature and description of the request?
If splay is not configured it can happen that hunderds/thousands of clients start checking in at the same time to foreman for puppet which causes foreman to become slow and unresponsive.

For example, without splay enabled, your agent checks in every 30 minutes at :01 and :31 past the hour. After enabling splay, the agent will wait the pseudorandom sleep time, say eight minutes, and then check in every 30 minutes, at :09 and :39 after the hour. If you restart the same agent at 12:45 PM, it will wait its eight minutes, and check in at 12:52 PM, and every 30 minutes after that, at 1:22 PM, 1:52 PM, and so on. Other agents will have different sleep times, and so will check in at different times even if they are all restarted at the same time.

3. Why does the user need this? (List the business requirements
here) When splay is configured this will prevent clients from checking in at the same time and still respect the interval for the puppet runs.

4. For each functional requirement, it can be tested to confirm the requirement is successfully
implemented.
Add "splay = true" to /etc/puppet/puppet.conf and verify the sleep time before the puppet agent does its first run. (needs debug option enabled)

Actions #1

Updated by Ondřej Pražák over 6 years ago

  • Subject changed from Include splay in puppet configuration for clients to Include splay in puppet configuration for clients
  • Category changed from PuppetCA to Puppet integration
Actions

Also available in: Atom PDF