Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Troubleshooting Connection and Certificate Errors on Puppet Clients

 

The following sections outline errors that you might encounter on Puppet clients running Junos OS. These sections also present potential causes and solutions for each error.

Puppet Client Request Certificate Error

Problem

Description: The Puppet client generates an error that it cannot request a certificate from the Puppet master.

Cause

The Puppet master might not be running an instance of the puppet master process.

On the Puppet master, review the list of active processes to determine whether the puppet master process is running. The output should include the puppet process if it is already running.

[root@puppet-master ~]# ps aux | grep puppet

Alternatively, on the Puppet client, telnet to the Puppet master on port 8140. If the puppet master process is not running, the connection fails.

% telnet puppet-master.example.com 8140

Solution

If the Puppet master is not running an instance of the puppet master process, start the process by issuing the puppet master command with any required options. Then verify that the process is running.

[root@puppet-master ~]# puppet master options
[root@puppet-master ~]# ps aux | grep puppet

Puppet Client No Certificate Found Error

Problem

Description: The Puppet client generates a no certificate found error and fails to download the catalog from the Puppet master.

Cause

The error might indicate that the certificate for the Puppet client is not signed.

Solution

On the Puppet master, sign outstanding client certificate requests using the puppet cert sign command. For example:

[root@puppet-master]# puppet cert sign puppet-client.example.com

See the official Puppet documentation for detailed information about Puppet commands.