Error with Agents connecting to Master
Hello all,
Quite new to puppet. I had an issue of all puppet agents had a revoked certificate including the master itself. I decided to recreate the ssl directory on the master so the only cert now is the puppet server itself.
When I try and connect an agent I do the following:
rm -rf /var/lib/puppet/ssl
puppet agent -t
Then get the following: Info: Creating a new SSL key for bacula.grpdom.vwuk.corp Info: Caching certificate for ca Info: csrattributes file loading from /etc/puppet/csrattributes.yaml Info: Creating a new SSL certificate request for bacula.grpdom.vwuk.corp Info: Certificate Request fingerprint (SHA256): 21:FE:F9:ED:B0:64:A2:AB:08:D9:16:2B:15:F4:E6:79:29:15:AA:DF:56:83:9E:80:F9:C0:41:7D:5D:9C:A0:C3 Info: Caching certificate for bacula.grpdom.vwuk.corp Info: Caching certificaterevocationlist for ca Info: Caching certificate for ca Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Failed to find bacula.grpdom.vwuk.corp via exec: Execution of '/etc/puppet/node.rb bacula.grpdom.vwuk.corp' returned 1: Info: Retrieving plugin Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppetvardir.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/roothome.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facterdotd.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/peversion.rb Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/lastrun.rb Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/puppiprojects.rb Info: Loading facts in /etc/puppet/modules/puppi/lib/facter/windowscommonappdata.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppetvardir.rb Info: Loading facts in /var/lib/puppet/lib/facter/roothome.rb Info: Loading facts in /var/lib/puppet/lib/facter/facterdotd.rb Info: Loading facts in /var/lib/puppet/lib/facter/peversion.rb Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node bacula.grpdom.vwuk.corp: Failed to find bacula.grpdom.vwuk.corp via exec: Execution of '/etc/puppet/node.rb bacula.grpdom.vwuk.corp' returned 1: Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Any help is much appriciated.
Thanks
BP