puppetserver ca list Command Error - Centos 7

0 votes

I facing issue with puppet master, on running the command puppetserver ca list, the following error getting below is displayed.
[root@puppet-master /]# puppetserver ca list
Fatal error when running action 'list'
  Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key
  Root cause: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
[root@puppet-master /]#


The communication between the master and teh slave is OK using ping and telnet commands
Please can someone guide me if I am missing some thing?

Thanks

Feb 24 in Puppet by anonymous
• 120 points
150 views
Try restarting the puppet server. This usually happens when the puppet server is not properly configured or enabled.

2 answers to this question.

0 votes
answered Feb 25 by Sirajul
• 54,020 points
0 votes

You could troubleshoot it this way:

  1. Verify that the Puppet master server is reachable at a DNS name your agents recognize.

  2. Verify that the puppetserver service is running.

answered Feb 25 by anonymous
• 10,310 points

Related Questions In Puppet

0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
151 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Puppet: Error on executing "systemctl enable puppetserver" command

You need root user privileges to execute ...READ MORE

answered Sep 17, 2019 in Puppet by Sirajul
• 54,020 points
147 views