-
Verify the
server
setting inpuppet.conf
on the Agent is set to the Master (or the Load Balancer of the Master). -
Verify that the
Puppet Agent
service is running on the Agent.- If it not running, review the Application and System logs.
- If you find a correlated "Puppet Agent service entered the stopped state" event ...
- A process or a user explicitly stopped the service.
- Look for the process or user that stopped the service.
- A process or a user explicitly stopped the service.
- If you find a correlated "Puppet Agent service terminated unexpectedly" event ...
- The service crashed.
- Look for errors prior to that crash for a root cause.
- The service crashed.
- Start the Puppet Service on the Agent.
- Review the Application and System logs.
- Verify the service remains started.
- Verify the service initiates a
puppet agent
run immediately after starting. - Verify that run completes successfully.
- Review the Application and System logs.
- If you find a correlated "Puppet Agent service entered the stopped state" event ...
- If it not running, review the Application and System logs.
-
Verify that a
puppet agent
run is not zombied on the Agent.- If it is (Puppet Agent service is running,
puppet agent
run remains in progress for more thanruninterval
) ...- Review the timestamps of files in C:\ProgramData\PuppetLabs\puppet\cache
- Verify the start time of the last run.
- Review the Application and System logs.
- Look for the start time of the last run, and for errors before and during that run for a root cause.
- If you find errors communicating with the Master ...
- Review the logs on the Load Balancer, Compiler, and the Master for a root cause.
- If you find errors communicating with the Master ...
- Look for the start time of the last run, and for errors before and during that run for a root cause.
- Verify the
runtimeout
setting inpuppet.conf
on the Agent is set to less thanruninterval
(for example runtimeout=20, runinterval=30) but more than the default of 0 (no timeout). - Stop and start the
Puppet Agent
service to kill the run.- Review the Application and System logs.
- Verify the service remains started.
- Verify the service kills the run.
- If it does not kill the run ...
- Kill it manually, and delete its lockfile.
- Stop and start the
Puppet Agent
service. - Verify the service remains started.
- If it does not kill the run ...
- Verify the service initiates a
puppet agent
run immediately after starting. - Verify that run completes successfully.
- Review the Application and System logs.
- Review the timestamps of files in C:\ProgramData\PuppetLabs\puppet\cache
- If it is (Puppet Agent service is running,
Last active
March 25, 2020 23:43
-
-
Save tkishel/994817bbf91e411834550004fa022d43 to your computer and use it in GitHub Desktop.
Decision Tree: Agent Not Reporting in the Console
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment