Shawn Parker
2013-Nov-27 01:01 UTC
[Puppet Users] Warning: Unable to fetch my node definition, but the agent run will continue:
I am getting the following error when executing puppet agent --test from the node to force it to get its node definition [root@localhost puppet]# puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Failed to find puppetnode.localdomain via exec: Execution of ''/etc/puppet/snc_enc.py puppetnode.localdomain'' returned 1: Info: Retrieving plugin Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node puppetnode.localdomain: Failed to find puppetnode.localdomain via exec: Execution of ''/etc/puppet/snc_enc.py puppetnode.localdomain'' returned 1: Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run I am using an external node classifier, not sure what I am doing wrong -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0e4d0d45-fc4d-4d38-b513-d271a71eae16%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Nov-27 10:54 UTC
Re: [Puppet Users] Warning: Unable to fetch my node definition, but the agent run will continue:
Hi, On 11/27/2013 02:01 AM, Shawn Parker wrote:> Error: Could not retrieve catalog from remote server: Error 400 on > SERVER: Failed when searching for node puppetnode.localdomain: Failed to > find puppetnode.localdomain via exec: Execution of > ''/etc/puppet/snc_enc.py puppetnode.localdomain'' returned 1: > I am using an external node classifier, not sure what I am doing wrongthe ENC either does not work correctly, or the FQDN is not classified. What happens when you run /etc/puppet/snc_enc.py puppetnode.localdomain on the master? Take special notice of the return code. If it does work - how about with the permissions of the master process (i.e., user puppet)? HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5295CF76.30708%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.