Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://aws-puppet-01.xxxxxx.com/pluginfacts: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://aws-puppet-01.xxxxxx.com/plugins: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Info: Loading facts
Error: Could not retrieve catalog from remote server: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Notice: Using cached catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
If I point the node at the other puppet server it runs fine.
I have verified that the certificate being used on the new puppet server is in fact signed by the same CA that generates the node certificate and the certificate used on the pre-existing puppet server. I can also connect to the new Puppet server via OpenSSL and issue a simple HTTP GET command (don't know a valid get request so end up with a 404 response, but it shows the certificate is setup correctly).
Also, I have disabled CA services on the second puppetserver as it is not providing CA capabilities.
As a test I removed the SSL certificates and started up Puppetserver fresh on the new server, that way it generated the CA certificates, etc. A node then successfully checks in, gets a certificate and can apply a manifest. This indicates I am doing something wrong in creating certs from the primary server (CA) for the new Puppet server.
Any help on what the issue is would be appreciated.
I have the following setup.1) Existing PuppetServer version 1.1.32) New PuppetServer version 1.1.3 installation (new DC)I followed the following documentation on setting up multiple Puppet MastersEssentially I pre-generated the SSL certificate for the new puppet server from the existing puppet server, instead of letting the puppet server generate it on startup.A new node checks in and contacts server 1 (pre-existing Puppet server) for CA functions (configured via ca_server in puppet.conf). Certificate generates and node caches it. However, the puppet run (which runs against the new puppet server) generates the following error:
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://aws-puppet-01.xxxxxx.com/pluginfacts: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://aws-puppet-01.xxxxxx.com/plugins: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Info: Loading facts
Error: Could not retrieve catalog from remote server: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Notice: Using cached catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
If I point the node at the other puppet server it runs fine.
I have verified that the certificate being used on the new puppet server is in fact signed by the same CA that generates the node certificate and the certificate used on the pre-existing puppet server. I can also connect to the new Puppet server via OpenSSL and issue a simple HTTP GET command (don't know a valid get request so end up with a 404 response, but it shows the certificate is setup correctly).
Also, I have disabled CA services on the second puppetserver as it is not providing CA capabilities.
As a test I removed the SSL certificates and started up Puppetserver fresh on the new server, that way it generated the CA certificates, etc.
Also, I have disabled CA services on the second puppetserver as it is not providing CA capabilities.
How did you go about doing this?
As a test I removed the SSL certificates and started up Puppetserver fresh on the new server, that way it generated the CA certificates, etc.
If the new puppet server instance is generating its own CA cert, then its CA is not disabled, and its CA cert will not be compatible with the CA cert from the original puppet server. The steps I'd recommend:
1. shut down puppet server on the new puppet server host
2. make sure that its CA is disabled ( https://docs.puppetlabs.com/puppetserver/latest/external_ca_configuration.html#disabling-the-internal-puppet-ca-service )
3. set up the puppet agent on the new puppet server host; configure it to connect to the old puppet server as its master
4. do an agent run on the new puppet server host; this will cause it to request a cert from the old puppet server CA
5. once you've signed that cert and are able to complete your agent runs successfully on the new puppet server host, it should have valid certs in place
6. start puppet server back up on the new puppet server host; it should find the certs that were generated by the agent and use them
7. now try running an agent on a different host, pointed at your new puppet server.
A node then successfully checks in, gets a certificate and can apply a manifest. This indicates I am doing something wrong in creating certs from the primary server (CA) for the new Puppet server.
Any help on what the issue is would be appreciated.