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, 2019 in Puppet by Vicky

edited Jul 31, 2019 206 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, 2019 by Sirajul
• 58,130 points

Related Questions In Puppet

+1 vote
1 answer

I am running a Jenkins job to sign the certificate by puppet master but it is failing

Refer to https://www.edureka.co/community/55971/puppet-error-while-signing-the-certificates This addresses a similar query like ...READ MORE

answered Mar 13 in Puppet by Liana
404 views
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, 2019 in Puppet by Jason
519 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, 2019 in Puppet by Sirajul
• 58,130 points
940 views
+15 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,450 points
739 views
+2 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, 2019 in Puppet by Sirajul
• 58,130 points
3,049 views