puppet enterprise agent not connect to master

asked 2014-12-23 05:19:51 -0500

Chutki gravatar image

Hi

Recently I moved my server from puppet open source to puppet enterprise.

PE master - 3.3.2 PE agent - 3.7

I heard if the agent and master not on the same version then, agent will not connect to master. is it true.

when I run sample manifests in the master I got below error

puppet agent --test --noop

Error: Could not request certificate: Connection refused - connect(2)
Exiting; failed to retrieve certificate and waitforcert is disabled

Also I removed all .pem files from agent ssl and run "puppet agent -t" I am getting below error

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Failed to submit 'replace facts' command for agent.example.com to PuppetDB at puppet.example.com:8081:
SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I have done clean all in master, but still I am getting same error.

edit retag flag offensive close merge delete

Comments

I have experienced the same issue by using different master and agent versions (both on REHL7). Finally used same version. Is there any specific reason you would like to use different versions?

Martin gravatar imageMartin ( 2014-12-28 18:02:38 -0500 )edit

I too am getting the same error on a new install.

ccross1655 gravatar imageccross1655 ( 2015-06-16 11:13:31 -0500 )edit

your puppet agent version is higher than the master?

Chutki gravatar imageChutki ( 2015-06-16 23:00:45 -0500 )edit