Error: PuppetDB is running but Puppet Master can't reach it.

0 votes
I have installed a PuppetDB and connected Puppet Master( which is a linux node) with it. I have followed the same steps as in the puppet docs. On checking the PuppetDB logs, i found that PuppetDB is running but my Puppet Master can't reach it. How do i troubleshoot this issue?
Jul 31 in Puppet by Vicky

edited Jul 31 37 views

1 answer to this question.

0 votes
  • If PuppetDB is running but the Puppet master can’t reach it, check PuppetDB's jetty configuration to see which port(s) it is listening on.

  • Then attempt to reach it by Telnet from the Puppet master server. 

telnet <HOST> <PORT>
  • If you can’t connect, the firewall may be blocking connections.

  • If you can, Puppet may be attempting to use the wrong port, or PuppetDB’s keystore may be misconfigured.

  • Check whether any other service is using PuppetDB’s port and interfering with traffic.

  • Check PuppetDB's jetty configuration and the /etc/puppetlabs/puppetdb/ssldirectory, and make sure it has the necesary SSL files created. 

  • If it didn’t create these during installation, you will need to run the SSL config script and edit the config file before a puppet master can contact PuppetDB.

answered Jul 31 by Sirajul
• 35,810 points

Related Questions In Puppet

0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12 in Puppet by Jason
166 views
0 votes
1 answer

What is PSON in puppet and how is it different from JSON?

PSON is a variant of JSON which ...READ MORE

answered Jul 24 in Puppet by Sirajul
• 35,810 points
545 views
0 votes
1 answer

What is Hiera in puppet and what does it do?

Hiera is a built-in key-value configuration data lookup ...READ MORE

answered Jul 25 in Puppet by Sirajul
• 35,810 points
111 views
0 votes
1 answer

How to connect my puppet master to PuppetDB?

Working on your Puppet master server(s), follow all ...READ MORE

answered Jul 30 in Puppet by Sirajul
• 35,810 points
63 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
204 views
0 votes
1 answer
0 votes
1 answer

Puppet: Error in generating new certificates when a new puppet master is created.

A new certificate has to be generated ...READ MORE

answered Aug 29 in Puppet by Sirajul
• 35,810 points
119 views